Customization API

can view

GET /api/v1/customization

Parameters

Name Description
brand_primary main brand color

Request

Headers

Accept: application/json
X-Api-Token: 6yXeFbasQWdCMRDox3m-48nCc-Y8jxuveA
X-Api-Email: user-367@example.com

Route

GET /api/v1/customization?brand_primary=%23FF00FE

Query Parameters

brand_primary: #FF00FE

cURL

curl "http://localhost:3000/api/v1/customization?brand_primary=%23FF00FE" -X GET \
	-H "Accept: application/json" \
	-H "X-Api-Token: 6yXeFbasQWdCMRDox3m-48nCc-Y8jxuveA" \
	-H "X-Api-Email: user-367@example.com" \
	-H "Content-Type: application/json" \
	-H "Host: school.worksonmy.computer"

Response

Headers

Content-Type: application/json; charset=utf-8
Content-Length: 822

Status

200 OK

Body

{
  "created_at": "2019-10-31T22:10:34Z",
  "includes": {
  },
  "custom_css": null,
  "favicon_url": null,
  "background_image_url": null,
  "background_size": null,
  "site_logo_url": null,
  "logged_out_homepage_background_image_url": null,
  "logged_out_homepage_background_image_overlay": 0.0,
  "strings": {
  },
  "brand_primary": "#2b3636",
  "brand_secondary": "#09A59A",
  "brand_success": null,
  "brand_text": "#2b3636",
  "brand_heading": "#2b3636",
  "brand_navbar_text": "#fff",
  "brand_navbar_fixed_text": "#fff",
  "brand_homepage_heading": "#fff",
  "brand_course_heading": "#fff",
  "is_customized": false,
  "font": null,
  "header_includes": null,
  "logged_in_header_includes": null,
  "logged_out_header_includes": null,
  "show_login": null,
  "show_signup": null,
  "id": 718,
  "brand_video_player_color": "#09A59A",
  "meta": {
    "class": "schoolcustomization",
    "url": null,
    "name": "718",
    "description": "",
    "image_url": null
  }
}