-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated api-reference from documentation release
- Loading branch information
Auto Mation
committed
Aug 12, 2024
1 parent
fa7733f
commit 4b7ebca
Showing
63 changed files
with
1,410 additions
and
370 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
api-specs/api/examples/extension-update-response.example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"id": "8062243c-46fc-40b5-88a4-75e2216aef75", | ||
"version": 2, | ||
"createdAt": "2017-01-25T14:14:22.417Z", | ||
"lastModifiedAt": "2024-08-06T13:49:48.511Z", | ||
"destination": { | ||
"type": "HTTP", | ||
"url": "https://example.azurewebsites.net/api/extension", | ||
"authentication": { | ||
"type": "AzureFunctions", | ||
"key": "****code" | ||
} | ||
}, | ||
"triggers": [ | ||
{ | ||
"resourceTypeId": "cart", | ||
"actions": ["Create", "Update"] | ||
} | ||
], | ||
"key": "my-new-extension-key" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{ | ||
"version": 1, | ||
"actions": [{ | ||
"action": "setKey", | ||
"key": "my-new-extension-key" | ||
}] | ||
"actions": [ | ||
{ | ||
"action": "setKey", | ||
"key": "my-new-extension-key" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
{ | ||
"key": "test-state", | ||
"type": "ProductState", | ||
"key": "Initial", | ||
"type": "LineItemState", | ||
"roles": [], | ||
"name": { | ||
"en": "Initial" | ||
}, | ||
"description": { | ||
"en": "Initial is the first State that a (custom) Line Item gets after its creation." | ||
}, | ||
"initial": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"id": "7c2e2694-aefe-43d7-888e-6a99514caaca", | ||
"version": 2, | ||
"key": "Initial", | ||
"type": "LineItemState", | ||
"roles": [], | ||
"name": { | ||
"en": "New Name" | ||
}, | ||
"description": { | ||
"en": "Initial is the first State that a (custom) Line Item gets after its creation." | ||
}, | ||
"builtIn": true, | ||
"initial": true, | ||
"createdAt": "2015-01-21T09:22:03.906Z", | ||
"lastModifiedAt": "2024-08-06T13:49:48.511Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{ | ||
"version": 1, | ||
"actions": [{ | ||
"action": "setName", | ||
"name": { | ||
"en": "New Name" | ||
"actions": [ | ||
{ | ||
"action": "setName", | ||
"name": { | ||
"en": "New Name" | ||
} | ||
} | ||
}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
api-specs/api/examples/subscription-update-response.example.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"id": "bf79c5d2-2813-4229-9a88-e7c76be50986", | ||
"version": 2, | ||
"destination": { | ||
"type": "SQS", | ||
"queueUrl": "https://sqs.my-region.amazonaws.com/my-aws-account-number/my-queue", | ||
"authenticationMode": "IAM", | ||
"region": "my-region" | ||
}, | ||
"messages": [ | ||
{ | ||
"resourceTypeId": "product", | ||
"types": [] | ||
} | ||
], | ||
"changes": [], | ||
"createdAt": "2017-01-25T14:14:22.417Z", | ||
"key": "new-key", | ||
"format": { | ||
"type": "Platform" | ||
}, | ||
"lastModifiedAt": "2024-08-06T13:49:48.511Z", | ||
"status": "Healthy" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
{ | ||
"version": 1, | ||
"actions": [{ | ||
"action": "setKey", | ||
"key": "queue-key" | ||
}] | ||
"actions": [ | ||
{ | ||
"action": "setKey", | ||
"key": "new-key" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"id": "3ae9bcca-df23-443e-bd22-0c592f9694fa", | ||
"version": 2, | ||
"key": "lineitemtype", | ||
"name": { | ||
"en": "New Name" | ||
}, | ||
"description": { | ||
"en": "description" | ||
}, | ||
"resourceTypeIds": ["line-item"], | ||
"fieldDefinitions": [ | ||
{ | ||
"name": "offer_name", | ||
"label": { | ||
"en": "offer_name" | ||
}, | ||
"required": false, | ||
"type": { | ||
"name": "String" | ||
}, | ||
"inputHint": "SingleLine" | ||
} | ||
], | ||
"createdAt": "2015-10-07T06:56:19.217Z", | ||
"lastModifiedAt": "2024-08-06T13:49:48.511Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{ | ||
"version": 1, | ||
"actions": [{ | ||
"action": "changeName", | ||
"name": { | ||
"en": "New Name" | ||
"actions": [ | ||
{ | ||
"action": "changeName", | ||
"name": { | ||
"en": "New Name" | ||
} | ||
} | ||
}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.