Skip to content

Commit

Permalink
Merge branch 'feature/4322' of github.com:hashgraph/guardian into fea…
Browse files Browse the repository at this point in the history
…ture/4322
  • Loading branch information
Stepan-Kirjakov committed Dec 27, 2024
2 parents 106533d + f8c8ca8 commit 95e30be
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 11 deletions.
83 changes: 72 additions & 11 deletions swagger-indexer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1336,11 +1336,38 @@ paths:
schema:
$ref: '#/components/schemas/InternalServerErrorDTO'
tags: *ref_0
/entities/label-documents/{messageId}:
get:
operationId: EntityApi_getLabelDocument
summary: Get label document
description: Returns label document
parameters:
- name: messageId
required: true
in: path
description: Message identifier
example: '1706823227.586179534'
schema:
type: string
responses:
'200':
description: Label document details
content:
application/json:
schema:
$ref: '#/components/schemas/LabelDocumentDetailsDTO'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorDTO'
tags: *ref_0
/entities/label-documents:
get:
operationId: EntityApi_getLabelDocuments
summary: Get VPs
description: Returns VPs
summary: Get Label Documents
description: Returns Label Documents
parameters:
- name: pageIndex
required: false
Expand Down Expand Up @@ -1418,7 +1445,7 @@ paths:
type: string
responses:
'200':
description: VPs
description: Label Documents
content:
application/json:
schema:
Expand Down Expand Up @@ -5336,17 +5363,21 @@ components:
LabelAnalyticsDTO:
type: object
properties:
tokenId:
textSearch:
type: string
description: Token
example: 0.0.4481265
labelName:
description: Text search
owner:
type: string
description: Name
example: Label Name
description: Owner
example: >-
did:hedera:testnet:8Go53QCUXZ4nzSQMyoWovWCxseogGTMLDiHg14Fkz4VN_0.0.4481265
config:
type: object
description: Label Config
required:
- tokenId
- labelName
- textSearch
- owner
- config
LabelDTO:
type: object
properties:
Expand Down Expand Up @@ -5534,6 +5565,36 @@ components:
- item
- row
- activity
LabelDocumentDetailsDTO:
type: object
properties:
id:
type: string
description: Message identifier
example: '1706823227.586179534'
uuid:
type: string
description: UUID
example: 93938a10-d032-4a9b-9425-092e58bffbf7
item:
$ref: '#/components/schemas/VPDetailsItemDTO'
row:
$ref: '#/components/schemas/RawMessageDTO'
history:
type: array
items:
$ref: '#/components/schemas/VPDetailsItemDTO'
label:
type: array
items:
$ref: '#/components/schemas/VPDetailsItemDTO'
required:
- id
- uuid
- item
- row
- history
- label
VPGridDTO:
type: object
properties:
Expand Down
34 changes: 34 additions & 0 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13259,6 +13259,39 @@ paths:
tags: *ref_29
security:
- bearer: []
/policy-labels/push/{definitionId}/publish:
put:
operationId: PolicyLabelsApi_publishPolicyLabelAsync
summary: Publishes policy label.
description: Publishes policy label for the specified label ID.
parameters:
- name: definitionId
required: true
in: path
description: policy label Identifier
example: '000000000000000000000001'
schema:
type: string
responses:
'200':
description: Successful operation.
content:
application/json:
schema:
$ref: '#/components/schemas/PolicyLabelDTO'
'401':
description: Unauthorized.
'403':
description: Forbidden.
'500':
description: Internal server error.
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorDTO'
tags: *ref_29
security:
- bearer: []
/policy-labels/{definitionId}/relationships:
get:
operationId: PolicyLabelsApi_getPolicyLabelRelationships
Expand Down Expand Up @@ -16624,6 +16657,7 @@ components:
- SCHEMAS_PAGE
- TOKENS_PAGE
- PROFILE_PAGE
- POLICY_LABEL_PAGE
result:
type: object
read:
Expand Down

0 comments on commit 95e30be

Please sign in to comment.