events_system_tasks_retrieve
GET/api/v3//events/system_tasks/:uuid/
Read-only view set that returns all background tasks
Request
Path Parameters
uuid uuidrequired
A UUID string identifying this System Task.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
uuiduuidrequired
namestringrequired
full_namestringrequired
Get full name with UID
uidstring
descriptionstringrequired
start_timestampdate-timerequired
finish_timestampdate-timerequired
durationdoublerequired
statusSystemTaskStatusEnum (string)required
Possible values: [unknown
, successful
, warning
, error
]
messages object[]required
expiresdate-timenullable
expiringboolean
{
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"full_name": "string",
"uid": "string",
"description": "string",
"start_timestamp": "2024-07-29T15:51:28.071Z",
"finish_timestamp": "2024-07-29T15:51:28.071Z",
"duration": 0,
"status": "unknown",
"messages": [
{
"timestamp": "2024-07-29T15:51:28.071Z",
"log_level": "critical",
"logger": "string",
"event": "string",
"attributes": {}
}
],
"expires": "2024-07-29T15:51:28.071Z",
"expiring": true
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- 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, "/api/v3/events/system_tasks/:uuid/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());