A couple suggestions on how you can discover what end points to call
- While using a Network/Traffic inspector of your browser, perform the actions in the WebUI and review the requests that are made to the API
- Review the Swagger documentation
https://<orchestrator>/swagger/ - Review Orchestrator API documentation, they may have example in there Building API Requests
- Check out the UiPath Postman Collection for possible examples - https://postman.uipath.rocks/
https://<orchestrator>/swagger/index.html#/Buckets/Buckets_Post provides the Model details and an example body payload.
BucketDto{
Name* string
maxLength: 128
Display name of the Bucket
Description string
maxLength: 512
Description of the Bucket
Identifier* string($uuid)
A stable unique identifier
StorageProvider string
Provider Name.
Otherwise one of the supported providers:
FileSystem
Azure
Amazon
Minio
Leave null for built-in Orchestrator host provider.
StorageParameters string
Provider specific initalization parameters.
Use a $Password for where the password should be inserted.
Leave null for built-in Orchestrator host provider.
StorageContainer string
Provider specific Container name (AWS, WASB).
Leave null for built-in Orchestrator host provider.
Options string
Bucket options
Enum:
Array [ None, ReadOnly, AuditReadAccess ]
CredentialStoreId integer($int64)
Credential store used to keep the provider access password.
Leave null for built-in Orchestrator host provider.
Password string
Provider specific password/secret.
It is inserted as a replacemnt of the $PAssword token in the StorageParameters.
Leave null for built-in Orchestrator host provider.
Id integer($int64)
}