Canary Speech

GetProjectAppData

GET - /meta/get-project-data/:projectCode
Required Permissions:
  • scope:app

Description

Gets the application data for a project.

Headers

Header KeyDescriptionExample
Authorization
The Authorization header for this endpoint. The value must be the token from the /v3/auth/tokens/get endpoint and given using the Bearer pattern.
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW...

Path Parameters

NameTypeDescription
projectCodestring
The code of the project.

Successful Response

A successful response

Field NameTypeDescription
projectCodestring
The code of the project.
projectIduuid
The ID of the project.
surveyTitleLangobject
A mapping of language codes to survey names so as to localize survey names.
projectApiUrlstring
The URL of the server where the API for this project is hosted.
brandingobject
The theme rules for customizing the branding of the app after logging into this project.
loginStrategyobject
The strategy for how subjects in this project are meant to log in and take assessments.
assessmentStrategyobject
The strategy for how assessments in this project are to be handled.
profileStrategyobject
The strategy for how the subject's profile screen is managed.
testSubjects
array<string>
A list of regex-based subject names to recognize as test data and exclude from reports, etc.

Code Example