Permite listas os conjuntos de dados que foram criados incluindo Subjects e Contents.

Endpoint:

GET /searcher/v1/datasets/full

Cabeçalho:

Authorization: Bearer YOUR_API_KEY

Resposta (JSON):

[
  {
    "id": 1,
    "name": "Nome do Dataset 1",
    "created_at": "2023-12-20T12:00:00Z",
    "updated_at": "2023-12-20T12:00:00Z",
    "subjects": [
      {
        "id": 1,
        "name": "Nome do Assunto 1",
        "dataset_id": 1,
        "created_at": "2023-12-20T12:00:00Z",
        "updated_at": "2023-12-20T12:00:00Z",
        "contents": [
          {
            "id": 1,
            "name": "Nome do Conteúdo 1",
            "subject_id": 1,
            "source": "https://exemplo.com/conteudo1",
            "created_at": "2023-12-20T12:00:00Z",
            "updated_at": "2023-12-20T12:00:00Z"
          }
        ]
      }
    ]
  }
]

Códigos de status:

  • 200 OK: Datasets listados com sucesso.
Language
Click Try It! to start a request and see the response here!