List new file options
Lists new file templates from all integrations the user has access to, for populating the new file menu.
Required scopes: upl:bucket:read
Authorization
OAuth2 upl:bucket:readAuthorizationBearer <token>
OAuth 2.0 authorization
In: header
Scope: upl:bucket:read
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
bucketRef?|&|
Bucket the caller intends to create the file in. The server only returns templates whose parent integration is an APPLICATION installed on this bucket — globally listing templates is no longer supported.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationsService/ListNewFileOptions" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"options": [
"map[integration:map[bucketLauncherEnabled:true integrationId:6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f mode:INTEGRATION_MODE_APPLICATION name:Markdown Studio oauthClientId:a3c9e7f2-1b4d-4e8a-9c6f-2d7b5e1a8c04] newFile:map[creationType:NEW_FILE_CREATION_TYPE_UPLOAD extension:md id:5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f integrationId:6f1c2d3e-4b5a-4c7d-8e9f-0a1b2c3d4e5f name:Markdown document]]"
]
}