Add a Link/URL file to a Property
Creates a text/uri-list media asset and Property association, or returns the existing live association for the same normalized URL. Requires active Property access, properties:write, and Idempotency-Key. URLs are stored without fetching their contents.
Creates a text/uri-list media asset and Property association, or returns the existing live association for the same normalized URL. Requires active Property access, properties:write, and Idempotency-Key. URLs are stored without fetching their contents.
Add a Link/URL file to a Property. Use an organization API key with properties:write. Check the response envelope and meta.requestId before triggering dependent workflow steps.
Required scopes
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| idrequired | path | string | Property identifier returned by the Organization API. |
Request body
| Field | Type | Description |
|---|---|---|
| urlrequired | string | HTTP(S) URL without credentials. Trimmed and normalized before deduplication. |
| filenamerequired | string | Display name without slashes or control characters. |
{
"url": "https://drive.google.com/drive/folders/installation-folder",
"filename": "Installation Drive Folder: P-19552"
}Responses
Existing Property media link envelope
#/components/schemas/OrgApiResourceEnvelope
Created Property media link envelope
#/components/schemas/OrgApiResourceEnvelope
Invalid URL, filename, or missing idempotency key
#/components/schemas/OrgApiError
Missing or invalid organization API key
#/components/schemas/OrgApiError
Organization billing access or an endpoint-specific business quota denied the request
#/components/schemas/OrgApiError
Missing required scope: properties:write
#/components/schemas/OrgApiError
Property not found or inaccessible
#/components/schemas/OrgApiError
Idempotency conflict or URL already stored as a file
#/components/schemas/OrgApiError
Rate limit exceeded
#/components/schemas/OrgApiError
Errors
Static examples
curl -X POST "$SOLAROS_BASE_URL/api/v1/properties/$SOLAROS_PROPERTY/media/links" \
-H "Authorization: Bearer $SOLAROS_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SOLAROS_IDEMPOTENCY_KEY" \
--data '{"url":"https://drive.google.com/drive/folders/installation-folder","filename":"Installation Drive Folder: P-19552"}'