Recuperar documentos
get
Use this operation to retrieve metadata about all available documents and Slack channels within the data sources.
Query parameters
pageintegerOptional
Page's index
page_sizeintegerOptional
The maximum number of documents returned in a page
Responses
200
Successful operation
application/json
get
/documents/200
Successful operation
Exemplo de Solicitações
curl -X GET \
"https://api.rememberizer.ai/api/v1/documents/?page=1&page_size=20&integration_type=google_drive" \
-H "Authorization: Bearer SEU_TOKEN_JWT"const getDocuments = async (page = 1, pageSize = 20, integrationType = 'google_drive') => {
const url = new URL('https://api.rememberizer.ai/api/v1/documents/');
url.searchParams.append('page', page);
url.searchParams.append('page_size', pageSize);
if (integrationType) {
url.searchParams.append('integration_type', integrationType);
}
const response = await fetch(url.toString(), {
method: 'GET',
headers: {
'Authorization': 'Bearer SEU_TOKEN_JWT'
}
});
const data = await response.json();
console.log(data);
};
getDocuments();Parâmetros da Solicitação
Parâmetro
Tipo
Descrição
Formato de Resposta
Tipos de Integração Disponíveis
Tipo de Integração
Descrição
Last updated