Passer au contenu principal
POST
/
annotation_queues
/
query
Flux de requête des files d'attente d'annotation
curl --request POST \
  --url https://api.example.com/annotation_queues/query \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "name": "Error",
  "sort_by": [
    {
      "field": "<string>",
      "direction": "asc"
    }
  ],
  "limit": 10,
  "offset": 0
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Autorisations

Authorization
string
header
requis

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Corps

application/json

Requête pour interroger les files d'attente d’annotation d’un projet.

project_id
string
requis
Exemple:

"entity/project"

name
string | null

Filtre par nom de file d'attente (correspondance partielle insensible à la casse)

Exemple:

"Error"

sort_by
SortBy · object[] | null

Tri par plusieurs champs (par ex., created_at, updated_at, name)

limit
integer | null
Exemple:

10

offset
integer | null
Exemple:

0

Réponse

Réponse réussie