Dizme API Version 1.0 (Legacy)
Dizme Agent Rest Service API (Legacy)
Dizme API documentation.
All this API will be referred to the configured default service.Contact:
Version:
1.0
api/v1
Terms of service
http://swagger.io/terms/
Contact information:
https://dizme.io
Version: 1.0.0
Servers
Tags
- verify: Verify operation can be made through Dizme agent
- connection: Connection operation can be made through Dizme agent
- transaction
- credential: Credential issuing operation can be made through Dizme agent
Paths
/verify/request
POST /verify/request
Create a new verify request.
The verify request can be created for an already exisistingexisting pairwise connection or for a not yet executed pairwise connection.
In this last case, a connection will be previously performed automatically.
Multiple read parameter is allowed only for request without connection_id provided
Responses
|
|
InvitationResponse
|
Security
stringbody | |
/verify/response
POST /verify/response
Send a response for a verify request
The ORG can send a verify proof response for a previously proof verify request executed.
Responses
|
Security
stringbody | |
/connection/invitation
POST /connection/invitation
Send a connection_invitation
The ORG can request a pairwise connection.
Responses
|
|
InvitationResponse
|
Security
stringbody | |
/credetial/credential/offer
POST /credential/offer
Send a credential offer
The ORG can request a credential offer
Responses
|
|
InvitationResponse
|
Security
stringbody | |
/transaction/{transaction_id}/status
GET /transaction/{transaction_id}/status
Parameters
Responses
Components
Schemas
VerifyRequest
- Required:
- business_code
- Type: object
- Properties:
- connection_id:
- Type: string
- Description: connection_id to which the request will be sent
- business_code:
- Type: string
- Description: Business code of the verify proof
- allow_multiple_read:
- Type: boolean
- Description: Usable only if connection_id is not provided, true if the verify request can be used multiple times, false otherwise
- request_uid:
- Type: string
- Description: The identifier of the request to be used, if not provided it will be automatically generated
- connection_id:
InvitationResponse
- Inherits: DizmeAgentResponse
VerifyResponseRequest
- Type: object
- Properties:
- presentation_id:
- Type: string
- Description: presentation_id of the involved verify request
- result:
- Type: boolean
- Description: The result of the verify request performed, True if successful false otherwise
- descriptions:
- Type: array
- Description: The localized description related to the verify response
- Items:
- $ref: '#/components/schemas/DizmeDescription'
- presentation_id:
DizmeAgentResponse
- Required:
- message
- message_code
- status_code
- Type: object
- Properties:
- status_code:
- Type: integer
- Format: int32
- message_code:
- Type: integer
- Format: int32
- message:
- Type: string
- status_code:
DizmeDescription
- Required:
- lang
- message
- Type: object
- Properties:
- lang:
- Type: string
- message:
- Type: string
- lang:
CredentialAttributePreview
- Required:
- mime_type
- name
- value
- Type: object
- Properties:
- name:
- Type: string
- mime_type:
- Type: string
- value:
- Type: string
- name:
ConnectionInvitationRequest
- Required:
- organization_name
- Type: object
- Properties:
- organization_name:
- Type: string
- Description: The name of the organization involved in the request
- allow_multiple_read:
- Type: boolean
- Description: Usable only if connection_id is not provided, true if the verify request can be used multiple times, false otherwise
- request_uid:
- Type: string
- Description: The identifier of the request to be used, if not provided it will be automatically generated
- organization_name:
CredentialOfferRequest
- Required:
- credential_def_id
- organization_name
- Type: object
- Properties:
- organization_name:
- Type: string
- Description: The name of the organization involved in the request
- request_uid:
- Type: string
- Description: The identifier of the request to be used, if not provided it will be automatically generated
- connection_id:
- Type: string
- Description: connection_id to which the request will be sent
- credential_def_id:
- Type: string
- Description: The credential definition id to offer
- credential_values:
- Type: array
- Description: The list of the credential attributes to offer, Mandatory in case of connection_id provided
- Items:
- $ref: '#/components/schemas.CredentialAttributePreview'
- comment:
- Type: string
- Description: A comment description of the operation to present to the user
- organization_name:
TransactionStatusResponse
- Inherits: DizmeAgentResponse
Security Schemes
Auth_token
- Type: apiKey
- Name: X-Auth-Token
- In: header
Agent_id
- Type: apiKey
- Name: X-Dizme-Agent-Id
- In: header