GET Single folder
Changed onCom este endpoint você pode visualizar uma única pasta do sistema.
Com paginate_sub_folders ativo a resposta muda de formato: vem folder (a pasta) e sub_folders (paginador padrão do Laravel com os registros das subpastas). Sem ele, a resposta é data com a pasta e sub_folders: [].
Request
- Base URLhttps://app.plugsign.com.br
- URLhttps://app.plugsign.com.br/api/folders/{idFolder}
- AuthAPI key in header Authorization
Path parameters
ID numérico da pasta.
Query parameters
Quando ativo (true, 1, on ou yes), devolve as subpastas paginadas no segundo formato de resposta. Use false ou 0 para desativar.
Quantidade de subpastas por página quando paginate_sub_folders está ativo. Padrão: 15.
Response
Pasta encontrada. Veja os dois formatos nos exemplos.
Example response
{
"data": {
"id": 1,
"folder": "public_folder",
"accessibility": "Everyone",
"created_on": "26/11/2024 14:24:25"
}
}Changes
- breaking
the
queryrequest parameterpaginate_sub_folderswas restricted to a list of enum values - breaking
for the
pathrequest parameteridFolder, the type changed fromstringtointeger - warning
added the new
Only Meenum value to the/response property for the response status - info
added the new optional
queryrequest parameterper_page - info
added the new enum value
0to thequeryrequest parameterpaginate_sub_folders - info
added the new enum value
1to thequeryrequest parameterpaginate_sub_folders - info
added the new enum value
falseto thequeryrequest parameterpaginate_sub_folders - info
added the new enum value
trueto thequeryrequest parameterpaginate_sub_folders - info
for the
queryrequest parameterpaginate_sub_folders, the type was generalized frombooleantostring - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
removed the
OnlyMeenum value from the/response property for the response status
- breaking