Skip to content

Commit

Permalink
chore: update openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Dec 10, 2024
1 parent ee23309 commit 6a8c0f3
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions src/modules/coreHttpApi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,38 @@ paths:
403:
$ref: "#/components/responses/Forbidden"

/api/v2/Attributes/TagCollection:
get:
operationId: getAttributeTagCollection
description: List valid Tags for Attributes
tags:
- Attributes
responses:
200:
description: Success
content:
application/json:
schema:
type: object
properties:
result:
type: array
items:
$ref: "#/components/schemas/AttributeTagCollection"
required:
- result
headers:
X-Response-Duration-ms:
schema:
$ref: "#/components/schemas/HeaderContent_X-Response-Duration-ms"
X-Response-Time:
schema:
$ref: "#/components/schemas/HeaderContent_X-Response-Time"
401:
$ref: "#/components/responses/Unauthorized"
403:
$ref: "#/components/responses/Forbidden"

/api/v2/Attributes/ExecuteIdentityAttributeQuery:
post:
operationId: executeIdentityQuery
Expand Down Expand Up @@ -4875,6 +4907,48 @@ components:
required:
- "@type"

AttributeTagCollection:
type: object
additionalProperties: false
properties:
supportedLanguages:
type: array
items:
type: string
example: ["en", "de"]
tagsForAttributeValueTypes:
type: object
additionalProperties:
type: object
additionalProperties:
"$ref": "#/components/schemas/AttributeTag"
example:
PhoneNumber:
emergency:
displayNames: { de: "Notfallkontakt", en: "Emergency Contact" }
children:
first: { displayNames: { de: "Erster Notfallkontakt", en: "First Emergency Contact" } }
second: { displayNames: { de: "Zweiter Notfallkontakt", en: "Second Emergency Contact" } }
private: { displayNames: { de: "Privat", en: "Private" } }
required:
- supportedLanguages
- tagsForAttributeValueTypes

AttributeTag:
type: object
additionalProperties: false
properties:
children:
additionalProperties:
"$ref": "#/components/schemas/AttributeTag"
type: object
displayNames:
additionalProperties:
type: string
type: object
required:
- displayNames

ConnectorHealth:
type: object
properties:
Expand Down

0 comments on commit 6a8c0f3

Please sign in to comment.