Capabilities
Register a new REST integration
put/epos/integrations/rest
Request
- Base URLhttps://api.dojo.tech
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"capabilities": [
{
"name": "GetOrderById",
"version": "v1"
},
{
"name": "RecordOrderPaymentById",
"version": "v1"
}
],
"url": "https://my-epos.com/orders",
"auth": {
"authType": "basic",
"basic": {
"username": "epos-1",
"password": "hunter2"
}
}
}Response
Successful operation
Example response
[
{
"capabilities": [
{
"name": "GetOrderById",
"version": "v1"
},
{
"name": "RecordOrderPaymentById",
"version": "v1"
}
],
"url": "https://my-epos.com/orders",
"auth": {
"authType": "basic",
"basic": {
"username": "epos-1"
}
},
"createdAt": "2024-03-30T12:00:00Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.