Components APIs
curl -i -X GET \
https://docs.onboarded.com/_mock/openapi/api/v1/themes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "data": [ { … } ], "total": 0 }
curl -i -X POST \
https://docs.onboarded.com/_mock/openapi/api/v1/themes \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"light": {
"logo": "string",
"show_header": true,
"show_form_name": true,
"show_updated_fields_count": true,
"next_button_text": "string",
"back_button_text": "string",
"custom_background": "string",
"custom_foreground": "string",
"primary_background": "string",
"primary_foreground": "string",
"secondary_background": "string",
"secondary_foreground": "string",
"progress": "string",
"border": "string",
"radius": "string"
},
"dark": {
"logo": "string",
"show_header": true,
"show_form_name": true,
"show_updated_fields_count": true,
"next_button_text": "string",
"back_button_text": "string",
"custom_background": "string",
"custom_foreground": "string",
"primary_background": "string",
"primary_foreground": "string",
"secondary_background": "string",
"secondary_foreground": "string",
"progress": "string",
"border": "string",
"radius": "string"
}
}'
{ "id": "string", "name": "string", "light": { "logo": "string", "show_header": true, "show_form_name": true, "show_updated_fields_count": true, "next_button_text": "string", "back_button_text": "string", "custom_background": "string", "custom_foreground": "string", "primary_background": "string", "primary_foreground": "string", "secondary_background": "string", "secondary_foreground": "string", "progress": "string", "border": "string", "radius": "string" }, "dark": { "logo": "string", "show_header": true, "show_form_name": true, "show_updated_fields_count": true, "next_button_text": "string", "back_button_text": "string", "custom_background": "string", "custom_foreground": "string", "primary_background": "string", "primary_foreground": "string", "secondary_background": "string", "secondary_foreground": "string", "progress": "string", "border": "string", "radius": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X GET \
'https://docs.onboarded.com/_mock/openapi/api/v1/themes/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "id": "string", "name": "string", "light": { "logo": "string", "show_header": true, "show_form_name": true, "show_updated_fields_count": true, "next_button_text": "string", "back_button_text": "string", "custom_background": "string", "custom_foreground": "string", "primary_background": "string", "primary_foreground": "string", "secondary_background": "string", "secondary_foreground": "string", "progress": "string", "border": "string", "radius": "string" }, "dark": { "logo": "string", "show_header": true, "show_form_name": true, "show_updated_fields_count": true, "next_button_text": "string", "back_button_text": "string", "custom_background": "string", "custom_foreground": "string", "primary_background": "string", "primary_foreground": "string", "secondary_background": "string", "secondary_foreground": "string", "progress": "string", "border": "string", "radius": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X PATCH \
'https://docs.onboarded.com/_mock/openapi/api/v1/themes/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"light": {
"logo": "string",
"show_header": true,
"show_form_name": true,
"show_updated_fields_count": true,
"next_button_text": "string",
"back_button_text": "string",
"custom_background": "string",
"custom_foreground": "string",
"primary_background": "string",
"primary_foreground": "string",
"secondary_background": "string",
"secondary_foreground": "string",
"progress": "string",
"border": "string",
"radius": "string"
},
"dark": {
"logo": "string",
"show_header": true,
"show_form_name": true,
"show_updated_fields_count": true,
"next_button_text": "string",
"back_button_text": "string",
"custom_background": "string",
"custom_foreground": "string",
"primary_background": "string",
"primary_foreground": "string",
"secondary_background": "string",
"secondary_foreground": "string",
"progress": "string",
"border": "string",
"radius": "string"
}
}'
{ "id": "string", "name": "string", "light": { "logo": "string", "show_header": true, "show_form_name": true, "show_updated_fields_count": true, "next_button_text": "string", "back_button_text": "string", "custom_background": "string", "custom_foreground": "string", "primary_background": "string", "primary_foreground": "string", "secondary_background": "string", "secondary_foreground": "string", "progress": "string", "border": "string", "radius": "string" }, "dark": { "logo": "string", "show_header": true, "show_form_name": true, "show_updated_fields_count": true, "next_button_text": "string", "back_button_text": "string", "custom_background": "string", "custom_foreground": "string", "primary_background": "string", "primary_foreground": "string", "secondary_background": "string", "secondary_foreground": "string", "progress": "string", "border": "string", "radius": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }
curl -i -X DELETE \
'https://docs.onboarded.com/_mock/openapi/api/v1/themes/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "id": "string", "name": "string", "light": { "logo": "string", "show_header": true, "show_form_name": true, "show_updated_fields_count": true, "next_button_text": "string", "back_button_text": "string", "custom_background": "string", "custom_foreground": "string", "primary_background": "string", "primary_foreground": "string", "secondary_background": "string", "secondary_foreground": "string", "progress": "string", "border": "string", "radius": "string" }, "dark": { "logo": "string", "show_header": true, "show_form_name": true, "show_updated_fields_count": true, "next_button_text": "string", "back_button_text": "string", "custom_background": "string", "custom_foreground": "string", "primary_background": "string", "primary_foreground": "string", "secondary_background": "string", "secondary_foreground": "string", "progress": "string", "border": "string", "radius": "string" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }