NFT Endpoints
FabricBloc NFT Microservice - User Guide
Overview
Base URL
<http://api.dev.fabricbloc.com/v1/nft>Swagger/OpenAPI Docs
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Number of items per page (default 10)
Page number (default 1)
Paginated list of collections.\n- items: List of collections (name, symbol, description, status, timestamps, mint_settings, user_id, owner_address, network, contract_type)\n- total: Total number of collections\n- page: Current page\n- limit: Items per page\n- has_next: True if there is a next page\n- has_previous: True if there is a previous page
Invalid query parameters
Unauthorized (missing or invalid token)
Internal server error
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Successfully created collection
Invalid request parameters" "{"error": "Invalid request parameters"}
Internal server error" "{"error": "Internal server error"}
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Collection ID (uuid)
Collection details (same fields as list)
Invalid ID format
Unauthorized (missing or invalid token)
Collection not found or access denied
Internal server error
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Collection ID (uuid)
Updated collection details
Invalid request or ID format
Unauthorized (missing or invalid token)
Collection not found or access denied
Internal server error
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Collection ID (uuid)
Successfully deleted
Invalid ID format
Unauthorized (missing or invalid token)
Collection not found or access denied
Only draft collections can be deleted
Internal server error
No content
Minting NFTs
Burning NFTs
Deploying Collections
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Collection ID
Successfully deployed collection
Invalid collection ID or not deployable
Collection not found
Internal server error
Estimating Deployment Cost
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Collection ID
Successfully estimated deployment cost
Invalid collection ID
Collection not found
Internal server error
Verifying Contracts
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Collection ID
Successfully verified contract
Invalid collection ID
Collection not found
Internal server error
Metadata
Create a new metadata entry. Note: No need to call this endpoint manually. It is called automatically when an NFT is minted.
UUID of created metadata entry
Invalid request or validation error
Collection ID (uuid)
NFT ID
Raw JSON data of the metadata entry
Metadata entry not found
Health Check
How to Communicate with the Service
Security Tips
Troubleshooting
Support & Contact
FAQ
Enum Values Reference
Collection Status
Contract Type
Network
Storage Method
Notes
Last updated