Return the non-secret browser upload capabilities for this workspace.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/files/uploads/capabilities"),};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/files/uploads/capabilities';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workspace/files/uploads/capabilitiesAuthorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
Effective non-secret upload policy derived from trusted workspace configuration.
object
Whether managed multipart transfer is available.
Whether the legacy stream path is available.
Effective maximum file size.
Required bounded part size.
Maximum supported parallel part count.
Supported client checksum algorithm.
Whether the client must declare a checksum.
Deprecated MIME-only compatibility projection. Use Moltaro.API.Common.Controllers.Workspace.FileSystem.ManagedFileUploadCapabilitiesModel.FileTypeRules.
Authoritative extension-aware upload rules.
One extension-aware managed upload rule.
object
Normalized lower-case extensions, including the leading dot.
Normalized lower-case MIME types without parameters.
Version of the authoritative extension-aware upload policy.
SHA-256 fingerprint of the authoritative extension-aware upload policy.
Maximum simultaneously active upload sessions for the current actor.
Current simultaneously active upload sessions for the current actor.
Maximum active reserved bytes for the current actor.
Current active reserved bytes for the current actor.
Retry delay when the actor currently has no upload capacity.
Sliding inactivity lease in seconds.
Absolute active-session lifetime in seconds.
object
object
object
object
Example
{ "Data": { "StorageType": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Too Many Requests
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Service Unavailable
object
Effective non-secret upload policy derived from trusted workspace configuration.
object
Whether managed multipart transfer is available.
Whether the legacy stream path is available.
Effective maximum file size.
Required bounded part size.
Maximum supported parallel part count.
Supported client checksum algorithm.
Whether the client must declare a checksum.
Deprecated MIME-only compatibility projection. Use Moltaro.API.Common.Controllers.Workspace.FileSystem.ManagedFileUploadCapabilitiesModel.FileTypeRules.
Authoritative extension-aware upload rules.
One extension-aware managed upload rule.
object
Normalized lower-case extensions, including the leading dot.
Normalized lower-case MIME types without parameters.
Version of the authoritative extension-aware upload policy.
SHA-256 fingerprint of the authoritative extension-aware upload policy.
Maximum simultaneously active upload sessions for the current actor.
Current simultaneously active upload sessions for the current actor.
Maximum active reserved bytes for the current actor.
Current active reserved bytes for the current actor.
Retry delay when the actor currently has no upload capacity.
Sliding inactivity lease in seconds.
Absolute active-session lifetime in seconds.
object
object
object
object
Example
{ "Data": { "StorageType": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}