Get a media-library folder by ID
GET
/v1/asset-folders/{folder_id}const folder = await bird.assets.folders.get(
"asf_01krdgeqcxet5s7t44vh8rt9mg",
);
console.log(folder.path);folder = client.assets.folders.get("asf_01krdgeqcxet5s7t44vh8rt9mg")
print(folder.path)folder, err := client.Assets.Folders.Get(context.Background(), "asf_01krdgeqcxet5s7t44vh8rt9mg")
if err != nil {
log.Fatal(err)
}
fmt.Println(*folder.Path)$folder = $bird->assets->folders->get('asf_01krdgeqcxet5s7t44vh8rt9mg');
echo $folder->getPath();bird assets folders get <folder-id>curl -X GET "https://us1.platform.bird.com/v1/asset-folders/{folder_id}" \
-H "Authorization: Bearer $TOKEN"Odpowiedź200
{
"created_at": "2026-05-20T09:14:52Z",
"updated_at": "2026-05-25T16:42:01Z",
"id": "asf_01krdgeqcxet5s7t44vh8rt9mg",
"parent_id": "asf_01krdgeqcxet5s7t44vh8rt9mg"
}
Returns one folder from the workspace's media library, including its resolved path. A deleted folder is not returned.
Parametry
folder_idstringID of the asset folder.
Treść odpowiedzi
created_atstring
wymagane
updated_atstring
wymagane
idstring
wymagane
namestring
wymagane
The folder's display name. Unique among folders sharing the same parent, compared without regard to case.
parent_idnullable string
wymagane
The folder this one sits in, or null when it sits at the top level of the library.
pathstring
wymagane
The folder's location written out from the top level, such as /Marketing/Logos. Provided so a caller can display a folder without walking its parents.
Powiązane zasoby
Przejdź do dokumentacji, przewodników i przykładów dotyczących tego tematu.