Skip to content

Commit

Permalink
Merge pull request #210 from vtexdocs/edit-navigation-marketplace-api-3
Browse files Browse the repository at this point in the history
docs(navigation): correct marketplace api navigation
  • Loading branch information
julia-rabello authored Jan 31, 2023
2 parents 6c9c4c4 + 61b4f16 commit ff40a54
Show file tree
Hide file tree
Showing 4 changed files with 8,053 additions and 8,158 deletions.
58 changes: 29 additions & 29 deletions public/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -5825,7 +5825,7 @@
"children": [
{
"name": "Get autoApprove Status in Account Settings",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -5834,7 +5834,7 @@
},
{
"name": "Activate autoApprove in Marketplace's Account",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "PUT",
"origin": "",
Expand All @@ -5843,7 +5843,7 @@
},
{
"name": "Get Account's Approval Settings",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -5852,7 +5852,7 @@
},
{
"name": "Save Account's Approval Settings",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "PUT",
"origin": "",
Expand All @@ -5861,7 +5861,7 @@
},
{
"name": "Get Seller's Approval Settings",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -5870,7 +5870,7 @@
},
{
"name": "Save Seller's Approval Settings",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "PUT",
"origin": "",
Expand All @@ -5879,7 +5879,7 @@
},
{
"name": "Activate autoApprove Setting for a Seller",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "PUT",
"origin": "",
Expand All @@ -5895,7 +5895,7 @@
"children": [
{
"name": "Get all SKU suggestions",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -5904,7 +5904,7 @@
},
{
"name": "Get SKU Suggestion by ID",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -5920,7 +5920,7 @@
"children": [
{
"name": "Send SKU Suggestion",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "PUT",
"origin": "",
Expand All @@ -5929,7 +5929,7 @@
},
{
"name": "Delete SKU Suggestion",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "DELETE",
"origin": "",
Expand All @@ -5945,7 +5945,7 @@
"children": [
{
"name": "Get all Versions",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -5954,7 +5954,7 @@
},
{
"name": "Get Version by ID",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -5970,7 +5970,7 @@
"children": [
{
"name": "Match Received SKUs individually",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "PUT",
"origin": "",
Expand All @@ -5979,7 +5979,7 @@
},
{
"name": "Match Multiple Received SKUs",
"slug": "marketplace-apis",
"slug": "marketplace-apis-suggestions",
"type": "openapi",
"method": "PUT",
"origin": "",
Expand Down Expand Up @@ -6197,7 +6197,7 @@
"children": [
{
"name": "Create Channel",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "POST",
"origin": "",
Expand All @@ -6206,7 +6206,7 @@
},
{
"name": "Activate Feed",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "POST",
"origin": "",
Expand All @@ -6215,7 +6215,7 @@
},
{
"name": "List Feeds",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -6224,7 +6224,7 @@
},
{
"name": "Update Feed",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "PUT",
"origin": "",
Expand All @@ -6233,7 +6233,7 @@
},
{
"name": "Get Feed by feedId",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -6242,7 +6242,7 @@
},
{
"name": "Deactivate Feed",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "DELETE",
"origin": "",
Expand All @@ -6251,7 +6251,7 @@
},
{
"name": "Open Interaction",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "POST",
"origin": "",
Expand All @@ -6260,7 +6260,7 @@
},
{
"name": "Get Interaction Data by interactionId",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -6269,7 +6269,7 @@
},
{
"name": "Close Interaction",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "POST",
"origin": "",
Expand All @@ -6278,7 +6278,7 @@
},
{
"name": "Create Log",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "POST",
"origin": "",
Expand All @@ -6287,7 +6287,7 @@
},
{
"name": "Get Log Data by logId",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -6296,7 +6296,7 @@
},
{
"name": "Search Interactions and their Logs",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -6305,7 +6305,7 @@
},
{
"name": "Search Errors",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "GET",
"origin": "",
Expand All @@ -6314,7 +6314,7 @@
},
{
"name": "Get Error Code data by errorCodeId",
"slug": "marketplace-apis",
"slug": "marketplace-apis-offer-management",
"type": "openapi",
"method": "GET",
"origin": "",
Expand Down
2 changes: 2 additions & 0 deletions src/pages/api/openapi/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const referencePaths = objectFlip({
'VTEX - License Manager API': 'license-manager-api',
'VTEX - Logistics API': 'logistics-api',
'VTEX - Marketplace APIs': 'marketplace-apis',
'VTEX - Marketplace APIs - Suggestions': 'marketplace-apis-suggestions',
'VTEX - Marketplace APIs - Sent Offers': 'marketplace-apis-offer-management',
'VTEX - Marketplace Protocol': 'marketplace-protocol',
'VTEX - Master Data API - v2': 'master-data-api-v2',
'VTEX - MasterData API - v10.2': 'masterdata-api',
Expand Down
2 changes: 2 additions & 0 deletions src/utils/getReferencePaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const fileSlugMap = {
'VTEX - License Manager API': 'license-manager-api',
'VTEX - Logistics API': 'logistics-api',
'VTEX - Marketplace APIs': 'marketplace-apis',
'VTEX - Marketplace APIs - Suggestions': 'marketplace-apis-suggestions',
'VTEX - Marketplace APIs - Sent Offers': 'marketplace-apis-offer-management',
'VTEX - Marketplace Protocol': 'marketplace-protocol',
'VTEX - Master Data API - v2': 'master-data-api-v2',
'VTEX - MasterData API - v10.2': 'masterdata-api',
Expand Down
Loading

0 comments on commit ff40a54

Please sign in to comment.