openapi: 3.2.0 info: title: Data Glossary Context Glossary Contexts API version: Evergreen description: Sometimes you need to take a step back to understand exactly what is being discussed. The Data Glossary helps you to define terms used in the platform servers: - url: https://prod.apigateway.co/glossary description: Production - description: Demo url: https://demo.apigateway.co/glossary - description: Localhost url: '{localhost}/glossary' tags: - name: Glossary-Contexts paths: /contexts: get: summary: List contexts tags: - Glossary-Contexts responses: '200': description: OK content: application/vnd.api+json: schema: type: object properties: data: type: array items: $ref: '#/components/schemas/GlossaryContext' links: type: object properties: self: type: string format: uri included: type: array items: $ref: '#/components/schemas/GlossaryTerms' examples: example-1: value: data: - id: drinks type: glossaryContexts attributes: name: Drinks definition: A liquid form of food relationships: terms: - data: id: 497f6eca-6276-4993-bfeb-53cbbbba6f08 type: glossaryTerms - data: id: 6276bba6-bfeb-6276-4993-6276bbbabfeb type: glossaryTerms links: self: http://prod.apigateway.co/glossary/contexts included: - id: 497f6eca-6276-4993-bfeb-53cbbbba6f08 type: glossaryTerms attributes: name: Milk definition: A cool white drink - id: 6276bba6-bfeb-6276-4993-6276bbbabfeb type: glossaryTerms attributes: name: CoCo definition: A hot brown beverage that is often spilt on pants operationId: get-contexts description: Use this endpoint to obtain a list of glossary contexts. /contexts/{id}: parameters: - schema: type: string name: id in: path required: true get: summary: Get context tags: - Glossary-Contexts responses: '200': description: OK content: application/vnd.api+json: schema: type: object properties: data: $ref: '#/components/schemas/GlossaryContext' links: type: object properties: self: type: string format: uri required: - self included: type: array items: $ref: '#/components/schemas/GlossaryTerms' examples: example-1: value: data: id: drinks type: glossaryContexts attributes: name: Drinks definition: A liquid form of food relationships: terms: - data: id: 497f6eca-6276-4993-bfeb-53cbbbba6f08 type: glossaryTerms - data: id: 6276bba6-bfeb-6276-4993-6276bbbabfeb type: glossaryTerms links: self: http://prod.apigateway.co/glossary/contexts included: - id: 497f6eca-6276-4993-bfeb-53cbbbba6f08 type: glossaryTerms attributes: name: Milk definition: A cool white drink - id: 6276bba6-bfeb-6276-4993-6276bbbabfeb type: glossaryTerms attributes: name: CoCo definition: A hot brown beverage that is often spilt on pants operationId: get-contexts-id /contexts/{id}/terms: parameters: - schema: type: string name: id in: path required: true get: summary: List terms in context tags: - Glossary-Contexts responses: '200': description: OK content: application/vnd.api+json: schema: type: object properties: data: type: array items: $ref: '#/components/schemas/GlossaryTerms' operationId: get-contexts-id-terms description: 'This is effectivly the same as `/terms?filter[context]={id}` You can sideload this list along with the context info using `/contexts/{contextID}?include=glossaryTerms`' components: schemas: GlossaryTerms: title: Terms type: object description: Terms are a set of context-specific definitions. They form the Data Glossary for the platform. properties: id: type: string description: Readonly record reference assigned by the server. Must be included in all requests except create. type: type: string enum: - glossaryTerms description: Must always be set to "glossaryTerms" attributes: type: object properties: name: type: string definition: type: string relationships: type: object properties: context: type: object properties: type: type: string enum: - glossaryContext id: type: string required: - type - id required: - id - type x-examples: 'EX: milk': id: 497f6eca-6276-4993-bfeb-53cbbbba6f08 type: glossaryTerms attributes: name: Milk definition: Cold white drink relationships: context: type: glossaryContext id: drinks x-tags: - Glossary-Terms - Glossary-Contexts GlossaryContext: title: Glossary Context type: object description: A context is the frame of reference used when describing a term x-tags: - Glossary-Contexts properties: id: type: string maxLength: 20 minLength: 0 type: type: string enum: - glossaryContexts attributes: type: object properties: name: type: string definition: type: string relationships: type: object properties: terms: type: array items: type: object properties: data: type: object properties: id: type: string type: type: string enum: - glossaryTerms required: - id - type securitySchemes: JWT: type: http scheme: bearer bearerFormat: JWT OAuth: type: oauth2 flows: authorizationCode: authorizationUrl: https://sso-api-demo.apigateway.co/oauth2/auth tokenUrl: https://sso-api-demo.apigateway.co/oauth2/token scopes: terms.write: write terms finance.partners.read: read partners hr.employees.read: read employees hr.teams.read: read teams hr.roles.read: read roles hr.roles.write: write roles crm.customers.read: read customers crm.customers.write: write customers crm.contacts.read: read contacts crm.contacts.write: write contacts sales.leads.read: read leads sales.opportunities.read: read opportunities sales.orders.read: read orders product.products.read: read products product.packages.read: read packages description: ''