List folders
GET
/folders
const url = 'https://api.dropslate.top/v1/folders';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.dropslate.top/v1/folders \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”Every folder in the library.
Media typeapplication/json
object
folders
Array<object>
object
id
string
name
string
parentId
string
mediaCount
integer
Examplegenerated
{ "folders": [ { "id": "example", "name": "example", "parentId": "example", "mediaCount": 1 } ]}