Getting Started
- What is Flextype?
- Requirements
- Installation
- Configuration
- Folder Structure
- API Reference
- Code of Conduct
- Getting Help
- License
Core Concepts
Console
Rest API
The Flextype Registry API organized around Representational State Transfer (REST) for delivering data from Flextype registry to apps, websites and other. Registry is delivered as JSON data.
Endpoints
Method | Endpoint | Route name | Description |
---|---|---|---|
GET | /api/v1/registry | registry.get | Fetch registry item |
GET /api/v1/registry
Fetch registry item
Request
GET /api/v1/registry?id=YOUR_REGISTRY_ITEM_ID&token=YOUR_REGISTRY_TOKEN
Query
name | Description | |
---|---|---|
id | REQUIRED | Valid Entry ID |
token | REQUIRED | Valid Registry Token. |
Result
An array of registry item objects.
Examples
Fetch Flextype Version from Flextype Registry
Request
GET /api/v1/registry?id=flextype.manifest.version&token=efe1e36e4d60fcd547e22eb9f795dff9
Response
200 OK
{
"data": {
"key": "flextype.manifest.version",
"value": "0.10.0"
}
}