- Docs
- Api%2Freference%2Ftemplates%2FListTemplates
Retrieve a list of templates
Fetch a list of templates with optional filters like prefix, public, unpublished, and pagination using limit and next token.
In: header
Query Parameters
Filter resources by their unique identifier
Filter resources by the organization they belong to
Filter resources by their name or title
Search term for autocomplete functionality
How many items to return at one time (max 100)
int64Pagination token for retrieving the next page of results
Sort order for the results (ascending or descending)
"asc" | "desc"Field name to sort the results by
Filter templates by a prefix for their name or identifier.
Filter templates by fully qualified domain name
Filter templates created after this date and time
date-timeFilter templates created before this date and time
date-timeFilter templates created on or after this date and time
date-timedate-timeResponse Body
application/json
application/json
application/json
curl -X GET "https://api-testnet.dual.network/templates"{
"templates": [
{
"id": "string",
"name": "string",
"fqdn": "string",
"object": {
"custom": {},
"metadata": {
"name": "string",
"description": "string",
"category": "string",
"image": {
"id": "string",
"name": "string",
"type": "string",
"url": "string",
"hash": "string",
"is_public": true,
"when_created": "2019-08-24T14:15:22Z"
},
"edition": 0
},
"assets": [
{
"id": "string",
"name": "string",
"type": "string",
"url": "string",
"hash": "string",
"is_public": true,
"when_created": "2019-08-24T14:15:22Z"
}
]
},
"factory": {
"max_supply": 0,
"minted_count": 0,
"start_time": "2019-08-24T14:15:22Z",
"end_time": "2019-08-24T14:15:22Z",
"whitelist": [
"string"
]
},
"public_access": {
"custom": [
"string"
]
},
"actions": [
{
"name": "mint",
"alias": "string",
"access": {
"type": "public",
"tokens": {
"property1": 0,
"property2": 0
}
},
"validators": [
{
"type": "http",
"url": "string"
}
],
"config": {},
"url": "string"
}
],
"face_id": "string",
"when_created": "2019-08-24T14:15:22Z",
"when_modified": "2019-08-24T14:15:22Z"
}
],
"next": "string"
}{
"code": 0,
"message": "string",
"details": {}
}{
"code": 0,
"message": "string",
"details": {}
}