⚠️ This documentation pertains to a preview endpoint. This feature is not yet ready for API consumption and may change.
For inquiries or feedback, please contact us at Glean.

Create displayable lists

post/createdisplayablelists

Create one or more lists that can be display on the home page.

SecurityBearerAuth
Request
header Parameters
X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

X-Scio-Actas
string <email>

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

Request Body schema: application/json
required

Create new displayable lists

required
Array of objects (DisplayableList)
Responses
200

OK

Response Schema: application/json
required
Array of objects (DisplayableList)
400

Invalid request

401

Not Authorized

403

Forbidden from creating displayable list configs

429

Too Many Requests

Request samples
application/json
{
  • "items": [
    • {
      • "source": "SAVED_SEARCH",
      • "id": 0,
      • "sourceId": "string",
      • "config": {
        • "format": "LIST",
        • "title": "string",
        • "enabled": true,
        • "audienceFilters": [
          • {
            • "fieldName": "type",
            • "values": [
              • {
                • "value": "Spreadsheet",
                • "relationType": "EQUALS"
                },
              • {
                • "value": "Presentation",
                • "relationType": "EQUALS"
                }
              ]
            }
          ],
        • "itemUIConfig": {
          • "showNewIndicator": true
          }
        }
      }
    ]
}
Response samples
application/json
{
  • "items": [
    • {
      • "source": "SAVED_SEARCH",
      • "id": 0,
      • "sourceId": "string",
      • "config": {
        • "format": "LIST",
        • "title": "string",
        • "enabled": true,
        • "audienceFilters": [
          • {
            • "fieldName": "type",
            • "values": [
              • {
                • "value": "Spreadsheet",
                • "relationType": "EQUALS"
                },
              • {
                • "value": "Presentation",
                • "relationType": "EQUALS"
                }
              ]
            }
          ],
        • "itemUIConfig": {
          • "showNewIndicator": true
          }
        }
      }
    ]
}