Appearance
Depot Admin Service Documentation
This service provides endpoints for managing admin configurations, clients, profiles, taxonomies, and topics for the Depot platform.
- Version: 1.0.0
Endpoints
Client
POST /client/
Summary: Client - POST / Description: Creates a client Operation ID: postClient
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Request Body (application/json):
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
name | string | Yes | string | - |
webhook | string | Yes | string | - |
json
{
"name": "string",
"webhook": "string"
}Responses:
200 OK Successful response
json
{
"id": "string",
"name": "string",
"webhook": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
id | string | - | - |
name | string | - | - |
webhook | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/client/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"webhook": "string"
}'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/client/");
var json = """
{
"name": "string",
"webhook": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/client/", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "string",
"webhook": "string"
}),
});
const data = await response.json();
console.log(data);GET /client/{client_uuid}
Summary: Client - GET /:client_uuid Description: Gets a client by id Operation ID: getClientByClient_uuid
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
client_uuid | path | string | Yes | - |
Responses:
200 OK Successful response
json
{
"id": "string",
"type": "string",
"secret": "string",
"webhooks": [
"string"
],
"webhook_url": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
id | string | - | - |
type | string | - | - |
secret | string | - | - |
webhooks | array<string> | - | - |
webhook_url | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000", {
method: "GET",
});
const data = await response.json();
console.log(data);DELETE /client/{client_uuid}/
Summary: Client - DELETE /:client_uuid/ Description: Deletes the client Operation ID: deleteClientByClient_uuid
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
client_uuid | path | string | Yes | - |
Responses:
200 OK Successful response
json
{
"message": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
message | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request DELETE 'https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000/'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000/");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/client/123e4567-e89b-12d3-a456-426614174000/", {
method: "DELETE",
});
const data = await response.json();
console.log(data);POST /client/regenerate-secret
Summary: Client - POST /regenerate-secret Description: Regenerates the client secret Operation ID: postClientRegenerate-secret
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
No request body is defined for this operation.
Responses:
200 OK Successful response
json
{
"secret": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
secret | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/client/regenerate-secret'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/client/regenerate-secret");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/client/regenerate-secret", {
method: "POST",
});
const data = await response.json();
console.log(data);POST /client/webhook
Summary: Client - POST /webhook Description: Updates the webhook for the client Operation ID: postClientWebhook
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Request Body (application/json):
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
webhook | string | Yes | string | - |
json
{
"webhook": "string"
}Responses:
200 OK Successful response
json
{
"webhook_url": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
webhook_url | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/client/webhook' \
--header 'Content-Type: application/json' \
--data-raw '{
"webhook": "string"
}'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/client/webhook");
var json = """
{
"webhook": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/client/webhook", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"webhook": "string"
}),
});
const data = await response.json();
console.log(data);DELETE /client/webhook
Summary: Client - DELETE /webhook Description: Deletes the webhook from the client Operation ID: deleteClientWebhook
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
{
"webhook_url": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
webhook_url | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request DELETE 'https://api.example.com/client/webhook'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.example.com/client/webhook");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/client/webhook", {
method: "DELETE",
});
const data = await response.json();
console.log(data);Clients
POST /clients/
Summary: Clients - POST / Description: Gets the clients as a list Operation ID: postClients
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
No request body is defined for this operation.
Responses:
200 OK Successful response
json
{
"clients": [
{
"client_name": "string",
"client_uuid": "string",
"webhook_url": "string"
}
]
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
clients | array<object> | - | - |
clients[].client_name | string | - | - |
clients[].client_uuid | string | - | - |
clients[].webhook_url | string | - | - |
500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/clients/'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/clients/");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/clients/", {
method: "POST",
});
const data = await response.json();
console.log(data);Health
GET /health/ready
Summary: Health - GET /ready Description: Gets the readiness endpoint of the service Operation ID: getHealthReady
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
{
"status": "string",
"timestamp": "string",
"services": {
"cosmos_db": "string",
"service_bus": "string"
}
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
status | string | - | - |
timestamp | string | - | - |
services | object | - | - |
services.cosmos_db | string | - | - |
services.service_bus | string | - | - |
500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/health/ready'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/health/ready");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/health/ready", {
method: "GET",
});
const data = await response.json();
console.log(data);GET /health/startup
Summary: Health - GET /startup Description: Gets the startup endpoint of the service Operation ID: getHealthStartup
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
{
"status": "string",
"timestamp": "string",
"app_configuration": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
status | string | - | - |
timestamp | string | - | - |
app_configuration | string | - | - |
500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/health/startup'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/health/startup");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/health/startup", {
method: "GET",
});
const data = await response.json();
console.log(data);GET /health/status
Summary: Health - GET /status Description: Gets the liveness endpoint of the service Operation ID: getHealthStatus
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
{
"status": "string",
"timestamp": "string",
"resources": {
"memory_usage": "string",
"cpu_usage": "string"
}
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
status | string | - | - |
timestamp | string | - | - |
resources | object | - | - |
resources.memory_usage | string | - | - |
resources.cpu_usage | string | - | - |
500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/health/status'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/health/status");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/health/status", {
method: "GET",
});
const data = await response.json();
console.log(data);Mantle
GET /mantle/sync-taxonomies
Summary: Mantle - GET /sync-taxonomies Description: Syncs all taxonomies from the Mantle system Operation ID: getMantleSync-taxonomies
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
{
"message": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
message | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/mantle/sync-taxonomies'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/mantle/sync-taxonomies");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/mantle/sync-taxonomies", {
method: "GET",
});
const data = await response.json();
console.log(data);GET /mantle/sync-topics
Summary: Mantle - GET /sync-topics Description: Syncs all topics from the Mantle system Operation ID: getMantleSync-topics
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
{
"message": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
message | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/mantle/sync-topics'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/mantle/sync-topics");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/mantle/sync-topics", {
method: "GET",
});
const data = await response.json();
console.log(data);Profile
POST /profile/
Summary: Profile - POST / Description: Adds a profile Operation ID: postProfile
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Request Body (application/json):
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
reference | string | No | string | - |
place_id | string | Yes | string | - |
source | string | No | string | - |
subscribe | boolean | No | true | - |
fetch_responses | boolean | No | true | - |
json
{
"reference": "string",
"place_id": "string",
"source": "string",
"subscribe": true,
"fetch_responses": true
}Responses:
200 OK Successful response
json
{
"profile_id": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
profile_id | string | - | - |
400 Bad Request Bad request
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/profile/' \
--header 'Content-Type: application/json' \
--data-raw '{
"reference": "string",
"place_id": "string",
"source": "string",
"subscribe": true,
"fetch_responses": true
}'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profile/");
var json = """
{
"reference": "string",
"place_id": "string",
"source": "string",
"subscribe": true,
"fetch_responses": true
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profile/", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"reference": "string",
"place_id": "string",
"source": "string",
"subscribe": true,
"fetch_responses": true
}),
});
const data = await response.json();
console.log(data);GET /profile/{profile_uuid}
Summary: Profile - GET /:profile_uuid Description: Gets a profile by id Operation ID: getProfileByProfile_uuid
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
profile_uuid | path | string | Yes | - |
Responses:
200 OK Successful response
json
{
"profile_id": "string",
"ref": "string",
"source": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
profile_id | string | - | - |
ref | string | - | - |
source | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000", {
method: "GET",
});
const data = await response.json();
console.log(data);DELETE /profile/{profile_uuid}
Summary: Profile - DELETE /:profile_uuid Description: Removes a subscription from a profile Operation ID: deleteProfileByProfile_uuid
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
profile_uuid | path | string | Yes | - |
Responses:
200 OK Successful response
json
{
"message": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
message | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request DELETE 'https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000", {
method: "DELETE",
});
const data = await response.json();
console.log(data);POST /profile/{profile_uuid}/subscribe
Summary: Profile - POST /:profile_uuid/subscribe Description: Adds a subscription to a profile Operation ID: postProfileByProfile_uuidSubscribe
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
profile_uuid | path | string | Yes | - |
No request body is defined for this operation.
Responses:
200 OK Successful response
json
{
"message": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
message | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000/subscribe'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000/subscribe");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profile/123e4567-e89b-12d3-a456-426614174000/subscribe", {
method: "POST",
});
const data = await response.json();
console.log(data);POST /profile/ref/
Summary: Profile - POST /ref/ Description: Gets a profile by ref Operation ID: postProfileRef
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Request Body (application/json):
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
ref | string | Yes | string | - |
json
{
"ref": "string"
}Responses:
200 OK Successful response
json
{
"profile_uuid": "string",
"profile_reference": "string",
"profile_source": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
profile_uuid | string | - | - |
profile_reference | string | - | - |
profile_source | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/profile/ref/' \
--header 'Content-Type: application/json' \
--data-raw '{
"ref": "string"
}'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profile/ref/");
var json = """
{
"ref": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profile/ref/", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"ref": "string"
}),
});
const data = await response.json();
console.log(data);POST /profile/status/{profile_uuid}
Summary: Profile - POST /status/:profile_uuid Description: Updates a profile status from active to inactive or vice versa Operation ID: postProfileStatusByProfile_uuid
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
profile_uuid | path | string | Yes | - |
Request Body (application/json):
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
status | string | Yes | string | - |
json
{
"status": "string"
}Responses:
200 OK Successful response
json
{
"message": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
message | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/profile/status/123e4567-e89b-12d3-a456-426614174000' \
--header 'Content-Type: application/json' \
--data-raw '{
"status": "string"
}'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profile/status/123e4567-e89b-12d3-a456-426614174000");
var json = """
{
"status": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profile/status/123e4567-e89b-12d3-a456-426614174000", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"status": "string"
}),
});
const data = await response.json();
console.log(data);Profiles
POST /profiles/
Summary: Profiles - POST / Description: Gets the profiles as a list Operation ID: postProfiles
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Request Body (application/json):
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
type | string | No | string | - |
place_id | string | No | string | - |
continuation_token | string | No | string | - |
page_size | number | No | 0 | - |
order_by | string | No | string | - |
search_term | string | No | string | - |
json
{
"type": "string",
"place_id": "string",
"continuation_token": "string",
"page_size": 0,
"order_by": "string",
"search_term": "string"
}Responses:
200 OK Successful response
json
{
"results": [
{
"profile_id": "string",
"ref": "string",
"source": "string",
"place_id": "string",
"created_at": "string"
}
],
"continuation_token": "string",
"total_results": 0
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
results | array<object> | - | - |
results[].profile_id | string | - | - |
results[].ref | string | - | - |
results[].source | string | - | - |
results[].place_id | string | - | - |
results[].created_at | string | - | - |
continuation_token | string | null | - | - |
total_results | number | - | - |
500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/profiles/' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "string",
"place_id": "string",
"continuation_token": "string",
"page_size": 0,
"order_by": "string",
"search_term": "string"
}'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profiles/");
var json = """
{
"type": "string",
"place_id": "string",
"continuation_token": "string",
"page_size": 0,
"order_by": "string",
"search_term": "string"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profiles/", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"type": "string",
"place_id": "string",
"continuation_token": "string",
"page_size": 0,
"order_by": "string",
"search_term": "string"
}),
});
const data = await response.json();
console.log(data);GET /profiles/count
Summary: Profiles - GET /count Description: Gets a total count of profiles by type Operation ID: getProfilesCount
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | No | - |
from_date | query | string | No | - |
Responses:
200 OK Successful response
json
{
"count": 0,
"type": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
count | number | - | - |
type | string | - | - |
500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/profiles/count?type=string&from_date=string'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profiles/count?type=string&from_date=string");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profiles/count?type=string&from_date=string", {
method: "GET",
});
const data = await response.json();
console.log(data);GET /profiles/count-by-month
Summary: Profiles - GET /count-by-month Description: Gets profile counts grouped by month (created_at) Operation ID: getProfilesCount-by-month
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | No | - |
from_date | query | string | No | - |
Responses:
200 OK Successful response
json
{
"data": [
{
"month": "string",
"count": 0
}
],
"total_count": 0
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
data | array<object> | - | - |
data[].month | string | - | - |
data[].count | number | - | - |
total_count | number | - | - |
500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/profiles/count-by-month?type=string&from_date=string'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profiles/count-by-month?type=string&from_date=string");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profiles/count-by-month?type=string&from_date=string", {
method: "GET",
});
const data = await response.json();
console.log(data);GET /profiles/placeids
Summary: Profiles - GET /profiles/placeids Description: Gets the placeids and attached profile id and exports to CSV Operation ID: getProfilesPlaceids
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
"string"Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
value | - | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/profiles/placeids'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profiles/placeids");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profiles/placeids", {
method: "GET",
});
const data = await response.json();
console.log(data);GET /profiles/profiles/placeids
Summary: Profiles - GET /profiles/placeids Description: Gets the placeids and attached profile id and exports to CSV Operation ID: getProfilesProfilesPlaceids
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
"string"Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
value | - | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/profiles/profiles/placeids'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/profiles/profiles/placeids");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profiles/profiles/placeids", {
method: "GET",
});
const data = await response.json();
console.log(data);POST /profiles/update-subscribed-tripadvisor
Summary: Profiles - POST /update-subscribed-tripadvisor Description: Updates all TripAdvisor profiles to be marked for fetching responses Operation ID: postProfilesUpdate-subscribed-tripadvisor
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Request Body (application/json):
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
fetch_responses_only | boolean | No | true | - |
json
{
"fetch_responses_only": true
}Responses:
200 OK Successful response
json
{
"message": "string"
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
message | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/profiles/update-subscribed-tripadvisor' \
--header 'Content-Type: application/json' \
--data-raw '{
"fetch_responses_only": true
}'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profiles/update-subscribed-tripadvisor");
var json = """
{
"fetch_responses_only": true
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profiles/update-subscribed-tripadvisor", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"fetch_responses_only": true
}),
});
const data = await response.json();
console.log(data);POST /profiles/validate-profiles
Summary: Profiles - POST /validate-profiles Description: Validates profiles and removes invalid entries Operation ID: postProfilesValidate-profiles
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Request Body (application/json):
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
type | string | Yes | string | - |
profile_uuid | string | No | 123e4567-e89b-12d3-a456-426614174000 | - |
json
{
"type": "string",
"profile_uuid": "123e4567-e89b-12d3-a456-426614174000"
}Responses:
200 OK Successful response
json
{
"profiles_removed": [
"string"
]
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
profiles_removed | array<string> | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request POST 'https://api.example.com/profiles/validate-profiles' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "string",
"profile_uuid": "123e4567-e89b-12d3-a456-426614174000"
}'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.example.com/profiles/validate-profiles");
var json = """
{
"type": "string",
"profile_uuid": "123e4567-e89b-12d3-a456-426614174000"
}
""";
request.Content = new StringContent(json, Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/profiles/validate-profiles", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"type": "string",
"profile_uuid": "123e4567-e89b-12d3-a456-426614174000"
}),
});
const data = await response.json();
console.log(data);Taxonomies
GET /taxonomies/
Summary: Taxonomies - GET / Description: Gets all taxonomies Operation ID: getTaxonomies
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
{
"taxonomies": [
{
"uuid": "string",
"taxonomy_id": 0,
"taxonomy_name": "string"
}
]
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
taxonomies | array<object> | - | - |
taxonomies[].uuid | string | - | - |
taxonomies[].taxonomy_id | number | - | - |
taxonomies[].taxonomy_name | string | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/taxonomies/'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/taxonomies/");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/taxonomies/", {
method: "GET",
});
const data = await response.json();
console.log(data);Topics
GET /topics/
Summary: Topics - GET / Description: Gets all topics Operation ID: getTopics
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| No parameters to pass. |
Responses:
200 OK Successful response
json
{
"topics": [
{
"uuid": "string",
"topic_id": 0,
"topic_name": "string",
"associated_taxonomies": [
0
]
}
]
}Response Parameters
| Property | Type | Description | Enum |
|---|---|---|---|
topics | array<object> | - | - |
topics[].uuid | string | - | - |
topics[].topic_id | number | - | - |
topics[].topic_name | string | - | - |
topics[].associated_taxonomies | array<number> | - | - |
404 Not Found Resource not found
json
{
"message": "string"
}500 Internal Server Error Internal server error
json
{
"message": "string"
}Example usage
curl
curl --location --request GET 'https://api.example.com/topics/'c#
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.example.com/topics/");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var responseBody = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseBody);ts
const response = await fetch("https://api.example.com/topics/", {
method: "GET",
});
const data = await response.json();
console.log(data);