-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore([example]): add a big dummy api service in example catalog
- Loading branch information
Showing
992 changed files
with
92,596 additions
and
60 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
examples/default/commands/app-service_DELETE_api-keys_{id}/index.md
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,33 @@ | ||
--- | ||
id: 'app-service_DELETE_api-keys_{id}' | ||
version: 2.0.0 | ||
name: 'app-service_DELETE_api-keys_{id}' | ||
summary: Delete api key | ||
schemaPath: '' | ||
badges: | ||
- content: DELETE | ||
textColor: blue | ||
backgroundColor: blue | ||
- content: 'tag:API Keys' | ||
textColor: blue | ||
backgroundColor: blue | ||
--- | ||
## Architecture | ||
<NodeGraph /> | ||
|
||
|
||
|
||
## DELETE `(/api-keys/{id})` | ||
|
||
### Parameters | ||
- **limit** (query): The collection items limit | ||
- **offset** (query): The collection items offset | ||
|
||
|
||
|
||
|
||
### Responses | ||
**200 Response** | ||
<SchemaViewer file="response-200.json" maxHeight="500" id="response-200" /> | ||
**401 Response** | ||
<SchemaViewer file="response-401.json" maxHeight="500" id="response-401" /> |
174 changes: 174 additions & 0 deletions
174
examples/default/commands/app-service_DELETE_api-keys_{id}/response-200.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,174 @@ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"required": [ | ||
"enrolled", | ||
"enrollmentEci", | ||
"customerId", | ||
"gatewayAccountId", | ||
"paymentCardId", | ||
"websiteId", | ||
"currency", | ||
"amount" | ||
], | ||
"properties": { | ||
"id": { | ||
"description": "The 3D Secure entry identifier string", | ||
"readOnly": true, | ||
"allOf": [ | ||
{ | ||
"type": "string", | ||
"description": "The resource ID. Defaults to UUID v4", | ||
"maxLength": 50, | ||
"example": "4f6cf35x-2c4y-483z-a0a9-158621f77a21" | ||
} | ||
] | ||
}, | ||
"customerId": { | ||
"description": "Related customer ID", | ||
"allOf": [ | ||
{ | ||
"type": "string", | ||
"description": "The resource ID. Defaults to UUID v4", | ||
"maxLength": 50, | ||
"example": "4f6cf35x-2c4y-483z-a0a9-158621f77a21" | ||
} | ||
] | ||
}, | ||
"gatewayAccountId": { | ||
"description": "Related gateway account ID", | ||
"allOf": [ | ||
{ | ||
"type": "string", | ||
"description": "The resource ID. Defaults to UUID v4", | ||
"maxLength": 50, | ||
"example": "4f6cf35x-2c4y-483z-a0a9-158621f77a21" | ||
} | ||
] | ||
}, | ||
"paymentCardId": { | ||
"description": "Related payment card ID", | ||
"allOf": [ | ||
{ | ||
"type": "string", | ||
"description": "The resource ID. Defaults to UUID v4", | ||
"maxLength": 50, | ||
"example": "4f6cf35x-2c4y-483z-a0a9-158621f77a21" | ||
} | ||
] | ||
}, | ||
"websiteId": { | ||
"description": "Related Website ID", | ||
"allOf": [ | ||
{ | ||
"type": "string", | ||
"description": "The resource ID. Defaults to UUID v4", | ||
"maxLength": 50, | ||
"example": "4f6cf35x-2c4y-483z-a0a9-158621f77a21" | ||
} | ||
] | ||
}, | ||
"enrolled": { | ||
"description": "Is the cardholder enrolled in 3DSecure", | ||
"type": "string", | ||
"enum": [ | ||
"Y", | ||
"N", | ||
"U" | ||
] | ||
}, | ||
"enrollmentEci": { | ||
"description": "The 3D Secure entry enrollment eci", | ||
"type": "string" | ||
}, | ||
"eci": { | ||
"description": "The 3D Secure entry electronic commerce indicator", | ||
"type": "integer" | ||
}, | ||
"cavv": { | ||
"description": "The 3D Secure entry cardholder authentication verification value", | ||
"type": "string" | ||
}, | ||
"xid": { | ||
"description": "The 3D Secure entry transaction Id", | ||
"type": "string" | ||
}, | ||
"payerAuthResponseStatus": { | ||
"description": "The 3D Secure entry Auth Response Status", | ||
"type": "string", | ||
"enum": [ | ||
"Y", | ||
"N", | ||
"U", | ||
"A" | ||
] | ||
}, | ||
"signatureVerification": { | ||
"description": "If signature was verified", | ||
"type": "string", | ||
"enum": [ | ||
"Y", | ||
"N" | ||
] | ||
}, | ||
"amount": { | ||
"description": "Transaction amount", | ||
"type": "number", | ||
"format": "double" | ||
}, | ||
"currency": { | ||
"description": "The currency three letter code", | ||
"type": "string" | ||
}, | ||
"createdTime": { | ||
"description": "The 3D Secure entry created time", | ||
"allOf": [ | ||
{ | ||
"type": "string", | ||
"description": "Read-only timestamp, automatically assigned on back-end.", | ||
"format": "date-time", | ||
"readOnly": true | ||
} | ||
] | ||
}, | ||
"_links": { | ||
"type": "array", | ||
"description": "The links related to resource", | ||
"readOnly": true, | ||
"minItems": 1, | ||
"maxItems": 1, | ||
"items": { | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"href": { | ||
"description": "The link URL", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"href" | ||
] | ||
} | ||
], | ||
"properties": { | ||
"rel": { | ||
"description": "The link type", | ||
"type": "string", | ||
"enum": [ | ||
"self" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"rel" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"isSchema": true | ||
} |
14 changes: 14 additions & 0 deletions
14
examples/default/commands/app-service_DELETE_api-keys_{id}/response-401.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,14 @@ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"status": { | ||
"type": "integer", | ||
"minimum": 100, | ||
"maximum": 600 | ||
}, | ||
"error": { | ||
"type": "string" | ||
} | ||
}, | ||
"isSchema": true | ||
} |
33 changes: 33 additions & 0 deletions
33
examples/default/commands/app-service_DELETE_attachments_{id}/index.md
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,33 @@ | ||
--- | ||
id: 'app-service_DELETE_attachments_{id}' | ||
version: 2.0.0 | ||
name: 'app-service_DELETE_attachments_{id}' | ||
summary: Delete an Attachment | ||
schemaPath: '' | ||
badges: | ||
- content: DELETE | ||
textColor: blue | ||
backgroundColor: blue | ||
- content: 'tag:Files' | ||
textColor: blue | ||
backgroundColor: blue | ||
--- | ||
## Architecture | ||
<NodeGraph /> | ||
|
||
|
||
|
||
## DELETE `(/attachments/{id})` | ||
|
||
### Parameters | ||
- **limit** (query): The collection items limit | ||
- **offset** (query): The collection items offset | ||
|
||
|
||
|
||
|
||
### Responses | ||
**200 Response** | ||
<SchemaViewer file="response-200.json" maxHeight="500" id="response-200" /> | ||
**401 Response** | ||
<SchemaViewer file="response-401.json" maxHeight="500" id="response-401" /> |
Oops, something went wrong.