# Code API Reference
Endpoint:
https://[client].hiweb.io/api/codes
Code resource object:
{
"type": "codes",
"id": "(string)",
"attributes": {
"title": "string",
"description": "string",
"handle": "string",
"status": "string",
"source": "string",
"created_at": "string|datetime",
"updated_at": "string|datetime"
}
}
# Writable fields
| Field name | Creating | Updating |
|---|---|---|
| title | required|max:255 | max:255 |
| description | max:255 | max:255 |
| handle | required|max:255 | max:255 |
| status | in:active,inactive | in:active,inactive |
| source | string|max:65535 | string|max:65535 |
← Menus Categories →