Menu
Drive.files.list Labels
Lists the labels on a file.
GET
/files/{fileId}/listLabelsUse it in a workflow
- Add a step and choose the Google Drive connector.
- Pick the Drive.files.list Labels action (under files).
- Fill in the fields below, then reference the result from later steps as
{{driveFilesListLabels.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{driveFilesListLabels.response.data.<field>}}.
{
"kind": "drive#labelList",
"labels": [
{
"fields": {},
"id": "string",
"kind": "drive#label",
"revisionId": "string"
}
],
"nextPageToken": "string"
}
Need more? See the Google Drive guide for connection setup and behaviour shared by every action.
Was this page helpful?