Knock
Query parameters
workspace_idstring · uuidOptional
The id of the workspace
drive_idany ofOptional
The id of the drive. If provided, generates a token scoped to workspace + this drive only. If omitted, generates a token for workspace + all drives (legacy, avoid with 50+ drives).
string · uuidOptional
nullOptional
Header parameters
passwordany ofOptional
The password header to use to fetch the preview
stringOptional
nullOptional
Body
Responses
200
Successful Response
application/json
404
Not found
422
Validation Error
application/json
post
/knock/tokenPath parameters
drive_idstring · uuidRequired
Header parameters
passwordany ofOptional
The password header to use to fetch the preview
stringOptional
nullOptional
Body
Responses
200
Successful Response
application/json
404
Not found
422
Validation Error
application/json
get
/knock/drives/{drive_id}/preferencesPath parameters
drive_idstring · uuidRequired
Header parameters
passwordany ofOptional
The password header to use to fetch the preview
stringOptional
nullOptional
Body
Responses
200
Successful Response
application/json
404
Not found
422
Validation Error
application/json
put
/knock/drives/{drive_id}/preferencesLast updated

