ApiDocuments
Get available MIME types by asset IDs
Returns a list of unique MIME types (e.g., application/pdf, image/png) used by documents associated with the provided asset IDs. This includes documents from the specified assets and any nested or related assets.
Access restricted to roles:
- admin
- manufacturer-admin
- manufacturer-user
- producer-admin
- producer-user
Authorization
bearer AuthorizationBearer <token>
In: header
Query Parameters
assetId*array<string>
List of asset IDs to filter MIME types by
Response Body
application/json
curl -X GET "https://test.sweetconnect.io/api/storage/v1/documents/available/mimetypes?assetId=0223327b-9270-4478-b11a-597b8885440d%2C51df6794-32c2-40dc-9f9b-43a1c9bd914d"{
"data": [
[]
]
}