Skip to main content

Configuring Service Info

All Starter Kit web services (i.e. core applications based on GA4GH API specficiations) are configurable with a YAML config file. Part of the YAML config file includes a serviceInfo object, which modifies the behavior of the attribute values returned in the /service-info response.

Service Info is the GA4GH standardized method of returning information about running web services adopting GA4GH standards. For more information, see the Service Info specification

Configurable serviceInfo properties

A full explanation of configurable service info properties is outlined below. The default value of each property depends on the starter kit service type being run (e.g. DRS, WES, etc.)

AttributeDescriptionData Type
idUnique identifier for the service. Reverse domain name format recommended.string
nameShort, human readable service namestring
descriptionLonger, human readable descriptionstring
contactUrlURL/email address users should contact with questions or issues about the servicestring (URL)
documentationUrlURL to where documentation about the service is hostedstring (URL)
createdAtISO 8601 timestamp of when the service was first startedISO 8601
updatedAtISO 8601 timestamp of when the service was last updatedISO 8601
environmentDescribes what deployment environment the service is running in (e.g. dev, prod, teststring
versionThe service versionstring
organizationDetails about the organization hosting the serviceOrganization object

Organization object

Details about the organization hosting a web service. The following properties are supported:

AttributeDescriptionData Type
nameName of the organization hosting the servicestring
urlURL to organization homepagestring (URL)

Example serviceInfo

The following snippet displays an example serviceInfo YAML configuration to configure the behavior of a starter kit service. A drs service is used in the example, but the serviceInfo object is equally applicable to any starter kit service.

drs:
serviceInfo:
id: org.ga4gh.drs.public-dataset
name: Genomics Public Dataset DRS Service
description: Serves genomics public datasets according to DRS specification
contactUrl: mailto:support@ga4gh.org
documentationUrl: https://drs-public-dataset-docs.ga4gh.org
createdAt: 2021-08-20T14:00:00Z
updatedAt: 2021-08-21T15:30:00Z
environment: prod
version: 2.1.0
organization:
name: Global Alliance for Genomics and Health
url: https://ga4gh.org