Permite recuperar uma lista completa de assuntos dentro de um dataset específico, incluindo informações detalhadas sobre cada assunto e seus conteúdos associados.

Onde {dataset_id} deve ser substituído pelo identificador único do dataset desejado.

Cabeçalho

Authorization(obrigatório): Sua chave de API Nama.ai no formato Bearer YOUR_API_KEY. (Substitua YOUR_API_KEY pela sua chave de API.)

Content-Type(obrigatório): Indicar o tipo de conteúdo enviado no corpo da requisição. Deve ser application/json.


Resposta

{
    "count": countInteger,
    "next": null urlNextReturn,
    "previous": null | urlPrevReturn,
    "results": [
        {
            "id": Integer,
            "name": "teste",
            "tokens": Integer,
            "contents": [
                {
                    "id": Integer,
                    "name": "empresa",
                    "source": "https://www.youtube.com/",
                    "media_video": null,
                    "media_image": null,
                    "subject_id": Integer,
                    "tokens": Integer,
                    
                    "created_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00",
                    "updated_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00"
                },
                {
                    "id": Integer,
                    "name": "empresa",
                    "source": "",
                    "media_video": null,
                    "media_image": null,
                    "subject_id": Integer,
                    "tokens": Integer,
                    
                    "created_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00",
                    "updated_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00"
                }
            ],
            
            "created_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00",
            "updated_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00"
        },
        {
            "id": Integer,
            "name": "empresa sub",
            "tokens": Integer,
            "contents": [],
            
            "created_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00",
            "updated_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00"
        },
        {
            "id": Integer,
            "name": "empresa media",
            "tokens": Integer,
            "contents": [],
            
            "created_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00",
            "updated_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00"
        },
        {
            "id": Integer,
            "name": "nome sub",
            "tokens": Integer,
            "contents": [
                {
                    "id": Integer,
                    "name": "NOME SUP 006",
                    "source": "",
                    "media_video": "",
                    "media_image": "",
                    "subject_id": Integer,
                    "tokens": Integer,
                    
                    "created_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00",
                    "updated_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00"
                }
            ],
            
            "created_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00",
            "updated_at": "YYYY-MM-DDTHH:MM:SS.000000-03:00"
        }
    ]
}

Language
Click Try It! to start a request and see the response here!