sources_ldap_sync_status_retrieve
GET/api/v3//sources/ldap/:slug/sync/status/
Get source's sync status
Request
Path Parameters
slug stringrequired
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
is_running booleanrequired
tasks
object[]
required
{
"is_running": true,
"tasks": [
{
"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 (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '/api/v3/sources/ldap/:slug/sync/status/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'