Gets the guid with specific survey id and version and uses that to retrieve a schema. Latest version schema will be retrieved if version is omitted

Parameters: survey_id (str): survey id of the schema metadata. version (str) (optional): version of the survey. schema_firebase_repository (SchemaFirebaseRepository): injected dependency for interacting with the schema collection in firestore. schema_processor_service (SchemaProcessorService): injected dependency for interacting with the schema collection in firestore.

get/v1/schema

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

survey_idstring nullable
versionstring nullable

Response

Successful Response

object required

Changes

    • info

      api operation id get_schema_v1_schema_get removed and replaced with Get_Schema_v1_schema_get

    • info

      endpoint deprecated

    • info

      api operation id get_schema_from_bucket_v1_schema_get removed and replaced with get_schema_v1_schema_get