DgVerseDgVerse
Home
Get Started
  • Auth Endpoint
  • Create Collection
  • Create Certificate
  • Create Directory
  • Transfer Certificate Via Wallet
  • Transfer Certificate Via Mail
  • Cancel Claim
  • Freeze User
  • Un-freeze User
  • Pause Collection
  • Un-Pause Collection
  • Delete Collection
  • Invalidate Certificates
  • Delete Certificates
  • Get Collection
  • Get Certificates
  • Get Directory of a Collection
Home
Get Started
  • Auth Endpoint
  • Create Collection
  • Create Certificate
  • Create Directory
  • Transfer Certificate Via Wallet
  • Transfer Certificate Via Mail
  • Cancel Claim
  • Freeze User
  • Un-freeze User
  • Pause Collection
  • Un-Pause Collection
  • Delete Collection
  • Invalidate Certificates
  • Delete Certificates
  • Get Collection
  • Get Certificates
  • Get Directory of a Collection
  • Get Collection

Get Collection

Path: v1/hts/api/integration/assets/collection

How to use

To retrieve the collections available in the current session, the sort order and the required collection type must be specified. screenshot

Parameter List

FieldTypeRequiredUsage
sortOrderStringNoSorting order for the coming dataset
Values:
- oldest first
- latest first (default)
collectionTypeStringNoFilter Option: Select only this type of collections
Values:
- Non-transferable Certificates
- Transferable Certificates

cURL Command

curl --request GET \
  --url 'http://<dgverse-api-base-url>/v1/hts/api/integration/assets/collection?sortOrder=oldest%20first&collectionType=Non-transferable%20Certificates' \
  --header 'Authorization: Bearer <YOUR_TOKEN>' \
  --header 'Content-Type: application/json'

Response

The collections in the current login will be provided in the given sort order. screenshot

Last Updated:
Contributors: John
Prev
Delete Certificate
Next
Get Certificates