Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request PATCH \ --url https://api.oneofnone.io/v1/collections/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "redirect_conditions": [ { "id": "<string>", "conditions": { "type": "group", "conditions": [ { "type": "condition", "field": "date" } ] }, "onTrue": { "type": "redirect", "redirectUrl": "<string>", "layoutId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "layoutTitle": "<string>" }, "title": "<string>", "onFalse": { "type": "redirect", "redirectUrl": "<string>", "layoutId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "layoutTitle": "<string>" } } ], "redirect_url": "<string>", "layout_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "app_id": 123 } '
{ "id": "<string>", "name": "<string>", "status": "<string>", "slug": "<string>", "created_at": "<string>", "type": "<string>", "description": "<string>", "quantity": 123, "keywords": "<unknown>", "redirect_type": "<string>", "redirect_url": "<string>", "layout_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "app_id": 123, "redirect_conditions": [ { "id": "<string>", "conditions": { "type": "group", "conditions": [ { "type": "condition", "field": "date", "value": { "date": "<string>", "time": { "hour": 6, "minute": 29 }, "timezone": "<string>" } } ] }, "onTrue": { "type": "redirect", "redirectUrl": "<string>", "layoutId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "layoutTitle": "<string>" }, "title": "<string>", "onFalse": { "type": "redirect", "redirectUrl": "<string>", "layoutId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "layoutTitle": "<string>" } } ], "registration_form_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "registration_settings": {}, "activity_settings": {}, "image": { "url": "<string>" }, "video": { "url": "<string>", "poster_url": "<string>" }, "share_image": { "url": "<string>" }, "gallery": [ { "url": "<string>", "file_type": "<string>", "poster_url": "<string>", "order": 123, "tags": "<unknown>", "variants": "<unknown>" } ], "product_name_template": "<string>", "retail_settings": {}, "launch_date": "<string>", "attributes": "<unknown>", "variants": "<unknown>", "updated_at": "<string>" }
Show child attributes
url
layout
Successful response