Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Request body example

{
  "workspace_logo": {
    "default_logo": true
  }
}

Success response body

[
  {
    "id": 11,
    "name": "NAME",
    "common_media_file": false,
    "media_type": "photo",
    "link_for_preview": "https://s3.amazonaws.com/gipper-college-logos-development/S3KEY.png",
    "file_size": "58.6 KB",
    "created_date": "12/26/22",
    "note": null,
    "is_cutout": false,
    "default_logo": true (NOTE: Added 16/10/23)
  },
  ...
]

Params

Param name Description
workspace_logo
required

Validations:

  • Must be a Hash

workspace_logo[default_logo]
required

Validations:

  • Must be one of: true, false, 1, 0.