API status
GET/api/system/status
Return runtime status of the API and statistics about it.
Request
Header Parameters
Correlation ID is a special type of request ID which is unique over a series of requests and responses, identifying a transaction in a distributed system. Correlation ID will be generated if not provided.
In distributed system architecture (microservices architecture) it is a unique ID of request and response combination throughout all components of a distributed system. Request ID will be generated if not provided.
Responses
- 200
- 400
- 422
- 429
Successful Response
- application/json
- Schema
- Example (auto)
Schema
storages object[]required
{
"storages": [
{
"type": "input",
"capacity": 0,
"usage": 0
}
]
}
Request payload data was invalid and could not be parsed.
- application/json
- Schema
- Example (auto)
- request.invalid
Schema
Machine-readable error type.
Possible values: [internal
, resource.not-found
, method.invalid
, request.conflict
, request.forbidden
, request.invalid
, request.validation-error
, request.rate-limit-exceeded
, request.size-limit-exceeded
, storage.capacity-exceeded
]
Human-readable summary of the error.
detail object[]
{
"type": "internal",
"message": "string",
"detail": [
{
"location": [
0,
"string"
],
"message": "string",
"type": "string",
"context": {}
}
]
}
Invalid request.
{
"type": "request.invalid",
"message": "Invalid request.",
"detail": []
}
Error during validation of request payload data occurred.
- application/json
- Schema
- Example (auto)
- request validation error
Schema
Machine-readable error type.
Possible values: [internal
, resource.not-found
, method.invalid
, request.conflict
, request.forbidden
, request.invalid
, request.validation-error
, request.rate-limit-exceeded
, request.size-limit-exceeded
, storage.capacity-exceeded
]
Human-readable summary of the error.
detail object[]
{
"type": "internal",
"message": "string",
"detail": [
{
"location": [
0,
"string"
],
"message": "string",
"type": "string",
"context": {}
}
]
}
Request validation error.
{
"type": "request.validation-error",
"message": "Request validation error.",
"detail": []
}
Request rate limit exceeded.
The request may be retried after a while. The following response headers may be checked for details: retry-after
, x-ratelimit-limit
, x-ratelimit-remaining
, x-ratelimit-reset
.
Response Headers
- application/json
- Schema
- Example (auto)
- request.rate-limit-exceeded
Schema
Machine-readable error type.
Possible values: [internal
, resource.not-found
, method.invalid
, request.conflict
, request.forbidden
, request.invalid
, request.validation-error
, request.rate-limit-exceeded
, request.size-limit-exceeded
, storage.capacity-exceeded
]
Human-readable summary of the error.
detail object[]
{
"type": "internal",
"message": "string",
"detail": [
{
"location": [
0,
"string"
],
"message": "string",
"type": "string",
"context": {}
}
]
}
Rate limit exceeded.
{
"type": "request.rate-limit-exceeded",
"message": "Rate limit exceeded: 1 per 5 second.",
"detail": []
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://docs.cloud.phonexia.com/api/system/status");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());