Skip to content

Commit

Permalink
[Auto Generated] 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Oct 9, 2023
1 parent a397b7d commit 4fcb749
Show file tree
Hide file tree
Showing 67 changed files with 7,336 additions and 3,827 deletions.
2,726 changes: 259 additions & 2,467 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ console.log("Active Theme: ", response.information.name);
The above code will log the curl command in the console

```bash
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.3.3' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.3.4' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
Active Theme: Emerge
```

Expand Down
2 changes: 1 addition & 1 deletion dist/application.js

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions documentation/application/CATALOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4655,6 +4655,15 @@ Success. Returns a Product object. Check the example shown below or refer `Produ
},
"_custom_json": {}
},
"department": {
"name": "Electronics",
"uid": 1,
"logo": {
"type": "image",
"url": "https://hdn-1.fynd.com/media/logo/brand/original/12391_0d956c6c71a4427895c15e44cba82f88.jpg"
},
"slug": "electronics"
},
"uid": 1,
"slug": "benchmark-collaborative-paradigms",
"attributes": {
Expand Down Expand Up @@ -8583,6 +8592,18 @@ Success. Returns a response object. Check the example shown below or refer `Foll
| title | string? | yes | |


---

#### [ProductDepartment](#ProductDepartment)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| logo | [Media](#Media)? | yes | |
| name | string? | yes | |
| slug | string? | yes | |
| uid | number? | yes | |


---

#### [ProductDetail](#ProductDetail)
Expand All @@ -8598,6 +8619,7 @@ Success. Returns a response object. Check the example shown below or refer `Foll
| category_map | [ProductCategoryMap](#ProductCategoryMap)? | yes | |
| color | string? | yes | |
| custom_order | [ProductDetailCustomOrder](#ProductDetailCustomOrder)? | yes | |
| department | [ProductDepartment](#ProductDepartment)? | yes | |
| description | string? | yes | |
| discount | string? | yes | |
| grouped_attributes | [[ProductDetailGroupedAttribute](#ProductDetailGroupedAttribute)]? | yes | |
Expand Down
111 changes: 101 additions & 10 deletions documentation/application/FILESTORAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,49 @@ Success


<details>
<summary><i>&nbsp; Example:</i></summary>
<summary><i>&nbsp; Examples:</i></summary>

```json

<details>
<summary><i>&nbsp; success</i></summary>

```json
{
"value": {
"success": true,
"_id": "xxxxxxxxxxxxxxxxxxxxxx",
"file_name": "shirt.png",
"file_path": "/path/qwertyuiop-shirt.png",
"content_type": "image/png",
"namespace": "products-item-images",
"operation": "putObject",
"company_id": 2,
"tags": [
"clothing",
"shirt"
],
"size": 9999,
"cdn": {
"url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png",
"absolute_url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png",
"relative_url": "products/pictures/free/original/qwertyuiop-shirt.png"
},
"upload": {
"expiry": 5000,
"url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png?AWSAccessKeyId=xxx&Content-Type=image%2Fpng&Expires=5000&Signature=xxx&x-amz-acl=public-read"
},
"created_on": "2020-02-03T09:50:04.240Z",
"modified_on": "2020-02-03T09:50:04.240Z",
"created_by": {
"username": "[email protected]"
}
}
}
```
</details>

</details>




Expand Down Expand Up @@ -213,13 +249,29 @@ Success


<details>
<summary><i>&nbsp; Example:</i></summary>
<summary><i>&nbsp; Examples:</i></summary>

```json

<details>
<summary><i>&nbsp; success</i></summary>

```json
{
"value": {
"urls": [
{
"url": "https://cdn.pixelbin.io/v2/falling-surf-7c8bb8/fyndnp/wrkr/x0/documents/manifest/PDFs/test/s3EtYk5p9-new_fee.pdf",
"signed_url": "https://fynd-staging-assets-private.s3-accelerate.amazonaws.com/addsale/v2/falling-surf-7c8bb8/fyndnp/wrkr/x0/documents/manifest/PDFs/test/s3EtYk5p9-new_fee.pdf",
"expiry": 1800
}
]
}
}
```
</details>

</details>




Expand Down Expand Up @@ -283,19 +335,48 @@ This operation will return the URL of the uploaded file.

[StartResponse](#StartResponse)

Success. Next, call the `completeUpload` API and pass the response payload of this API to finish the upload process.
Success. Returns a response containing relaving and absolute_url of storage service




<details>
<summary><i>&nbsp; Example:</i></summary>
<summary><i>&nbsp; Examples:</i></summary>

```json

<details>
<summary><i>&nbsp; success</i></summary>

```json
{
"value": {
"file_name": "shirt.png",
"file_path": "/path/qwertyuiop-shirt.png",
"content_type": "image/png",
"method": "PUT",
"namespace": "products-item-images",
"operation": "putObject",
"tags": [
"clothing",
"shirt"
],
"size": 9999,
"cdn": {
"url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png",
"absolute_url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png",
"relative_url": "products/pictures/free/original/qwertyuiop-shirt.png"
},
"upload": {
"expiry": 5000,
"url": "https://xxx.xxx.xxx/products/pictures/free/original/qwertyuiop-shirt.png?AWSAccessKeyId=xxx&Content-Type=image%2Fpng&Expires=5000&Signature=xxx&x-amz-acl=public-read"
}
}
}
```
</details>

</details>




Expand Down Expand Up @@ -329,6 +410,7 @@ Success. Next, call the `completeUpload` API and pass the response payload of th
| _id | string | no | |
| cdn | [CDN](#CDN) | no | |
| content_type | string | no | |
| created_by | [CreatedBy](#CreatedBy)? | yes | |
| created_on | string | no | |
| file_name | string | no | |
| file_path | string | no | |
Expand All @@ -343,11 +425,20 @@ Success. Next, call the `completeUpload` API and pass the response payload of th

---

#### [FailedResponse](#FailedResponse)
#### [CreatedBy](#CreatedBy)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| username | string? | yes | |


---

#### [Params](#Params)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| message | string | no | |
| subpath | string? | yes | The subpath for the file. |


---
Expand Down Expand Up @@ -377,7 +468,7 @@ Success. Next, call the `completeUpload` API and pass the response payload of th
| ---------- | ---- | -------- | ----------- |
| content_type | string | no | |
| file_name | string | no | |
| params | string? | yes | |
| params | [Params](#Params)? | yes | |
| size | number | no | |
| tags | [string]? | yes | |

Expand Down
Loading

0 comments on commit 4fcb749

Please sign in to comment.