CatenaApiKeys
Enum Value | Description |
---|---|
0 | Overwrite |
1 | Append |
On the right hand side of this page, you will see a list of "Servers".
To configure which server is shown in example requests:
domain
environment variable.curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts \
-H 'Content-Type: application/json' \
-d '{}'
{ "account": { "id": "string", "displayName": "string", "authRole": "string", "metadata": { … }, "platforms": [ … ] } }
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/{accountId}'
{ "account": { "id": "string", "displayName": "string", "authRole": "string", "metadata": { … }, "platforms": [ … ] } }
curl -i -X PATCH \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/{accountId}' \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"account": {
"id": "string",
"displayName": "string",
"authRole": "string",
"metadata": {
"property1": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
},
"property2": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
},
"platforms": [
"PLATFORM_UNSPECIFIED"
]
},
"accountMask": "string",
"metadataDeletionKeys": [
"string"
]
}'
{ "account": { "id": "string", "displayName": "string", "authRole": "string", "metadata": { … }, "platforms": [ … ] } }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/ids \
-H 'Content-Type: application/json' \
-d '{
"limit": 0,
"offset": 0
}'
{ "accountIds": [ "string" ] }
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts/{accountId}'
{ "account": { "id": "string", "displayName": "string", "authRole": "string", "metadata": { … }, "platforms": [ … ] } }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/link \
-H 'Content-Type: application/json' \
-d '{
"sessionId": "string"
}'
{ "account": { "id": "string", "displayName": "string", "authRole": "string", "metadata": { … }, "platforms": [ … ] }, "accountLinked": true }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/metadata \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"entryKey": "string",
"entryValue": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
}'
{}
When updating a metadata entry, the entry can either be overwritten (supported by all types) or appended (supported by string and json) Prefer integer values in JSON-encoded requests to avoid generic parse errors due to typos.
Enum Value | Description |
---|---|
0 | Overwrite |
1 | Append |
curl -i -X PUT \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/metadata \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"entryKey": "string",
"entryValue": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
},
"updateOperationType": "OVERWRITE"
}'
{}
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/metadata?id=string'
{ "metadata": { "property1": { … }, "property2": { … } } }
If you are deleting a json, can choose whether to delete the entire entry or a partial part of an entry Currently, only whole property removal is supported. Removal of elements in a json array (e.g. trying to remove "value" from json {"array":["value","value2"]}) is not currently supported by DeleteMetadataEntryRequest. Prefer integer values in JSON-encoded requests to avoid generic parse errors due to typos.
Enum Value | Description |
---|---|
0 | EntireEntry |
1 | PartialEntry |
curl -i -X DELETE \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/metadata/{entryKey}?accountId=string&jsonHandlingType=0&propertiesToRemovePaths=string'
{ "entryDeleted": true }
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/metadata/{entryKey}?accountId=string'
{ "entryValue": { "stringPayload": "string", "intPayload": 0, "jsonPayload": "string" } }
curl -i -X GET \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/accounts/healthz
{ "healthy": true, "components": [ { … } ] }
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts?limit=0&offset=0'
{ "accounts": [ { … } ] }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts \
-H 'Content-Type: application/json' \
-d '{
"displayName": "string",
"authRole": "string"
}'
{ "account": { "id": "string", "displayName": "string", "authRole": "string", "metadata": { … }, "platforms": [ … ] } }
curl -i -X PATCH \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"account": {
"id": "string",
"displayName": "string",
"authRole": "string",
"metadata": {
"property1": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
},
"property2": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
},
"platforms": [
"PLATFORM_UNSPECIFIED"
]
},
"accountMask": "string",
"metadataDeletionKeys": [
"string"
]
}'
{ "account": { "id": "string", "displayName": "string", "authRole": "string", "metadata": { … }, "platforms": [ … ] } }
curl -i -X DELETE \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string"
}'
{ "accountDeleted": true }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts/metadata \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"entryKey": "string",
"entryValue": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
}'
{}
When updating a metadata entry, the entry can either be overwritten (supported by all types) or appended (supported by string and json) Prefer integer values in JSON-encoded requests to avoid generic parse errors due to typos.
Enum Value | Description |
---|---|
0 | Overwrite |
1 | Append |
curl -i -X PUT \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts/metadata \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"entryKey": "string",
"entryValue": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
},
"updateOperationType": "OVERWRITE"
}'
{}
If you are deleting a json, can choose whether to delete the entire entry or a partial part of an entry Currently, only whole property removal is supported. Removal of elements in a json array (e.g. trying to remove "value" from json {"array":["value","value2"]}) is not currently supported by DeleteMetadataEntryRequest. Prefer integer values in JSON-encoded requests to avoid generic parse errors due to typos.
Enum Value | Description |
---|---|
0 | EntireEntry |
1 | PartialEntry |
curl -i -X DELETE \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts/metadata \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"entryKey": "string",
"jsonHandlingType": 0,
"propertiesToRemovePaths": [
"string"
]
}'
{ "entryDeleted": true }
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/accounts/metadata?accountId=string&entryKey=string'
{ "entryValue": { "stringPayload": "string", "intPayload": 0, "jsonPayload": "string" } }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/server/accounts \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"displayName": "string",
"platformAccountIds": [
{
"platform": "PLATFORM_UNSPECIFIED",
"id": "string"
}
]
}'
{ "account": { "id": "string", "displayName": "string", "authRole": "string", "metadata": { … }, "platforms": [ … ] } }
curl -i -X DELETE \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/server/accounts \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string"
}'
{}
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/server/accounts/link \
-H 'Content-Type: application/json' \
-d '{
"accountId": "string",
"platformAccountId": {
"platform": "PLATFORM_UNSPECIFIED",
"id": "string"
}
}'
{}