Create Application (API)
POST/projects/:projectId/apps/api
Create a new API client. The client id will be generated and returned in the response. Depending on the chosen configuration also a secret will be generated and returned.
Request​
Path Parameters
Header Parameters
The default is always the organization of the requesting user. If you like to change/get objects of another organization include the header. Make sure the requesting user has permission to access the requested data.
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
Possible values: non-empty
and <= 200 characters
Possible values: [API_AUTH_METHOD_TYPE_BASIC
, API_AUTH_METHOD_TYPE_PRIVATE_KEY_JWT
]
Default value: API_AUTH_METHOD_TYPE_BASIC
Body
required
Possible values: non-empty
and <= 200 characters
Possible values: [API_AUTH_METHOD_TYPE_BASIC
, API_AUTH_METHOD_TYPE_PRIVATE_KEY_JWT
]
Default value: API_AUTH_METHOD_TYPE_BASIC
Body
required
Possible values: non-empty
and <= 200 characters
Possible values: [API_AUTH_METHOD_TYPE_BASIC
, API_AUTH_METHOD_TYPE_PRIVATE_KEY_JWT
]
Default value: API_AUTH_METHOD_TYPE_BASIC
Responses​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
generated secret for this config
generated secret for this config
{
"appId": "string",
"details": {
"sequence": "2",
"creationDate": "2024-12-20T16:04:46.779Z",
"changeDate": "2024-12-20T16:04:46.779Z",
"resourceOwner": "69629023906488334"
},
"clientId": "3950723409029374",
"clientSecret": "gjoq34589uasgh"
}
- Schema
- Example (from schema)
Schema
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
generated secret for this config
generated secret for this config
{
"appId": "string",
"details": {
"sequence": "2",
"creationDate": "2024-12-20T16:04:46.779Z",
"changeDate": "2024-12-20T16:04:46.779Z",
"resourceOwner": "69629023906488334"
},
"clientId": "3950723409029374",
"clientSecret": "gjoq34589uasgh"
}
- Schema
- Example (from schema)
Schema
details
object
on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the first event of the object
on create: the timestamp of the event(s) added by the manipulation
on read: the timestamp of the last event reduced by the projection
on manipulation: the
generated secret for this config
generated secret for this config
{
"appId": "string",
"details": {
"sequence": "2",
"creationDate": "2024-12-20T16:04:46.779Z",
"changeDate": "2024-12-20T16:04:46.779Z",
"resourceOwner": "69629023906488334"
},
"clientId": "3950723409029374",
"clientSecret": "gjoq34589uasgh"
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}