Skip to Content
Dashboard Text Tiles

Create Dashboard Text Tile

POST
/v0/projects/{idOrSlug}/dashboard-text-tiles

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Request Body

application/json
  1. body
dashboardId*string
body*string
Lengthlength <= 10000
position?|null|null

Response Body

DashboardTextTileRecord

application/json
  1. response
id*string
projectId*string
dashboardId*string
body*string
position*|null
createdAt*string
updatedAt*string
Example Request
curl -X POST 'https://api.faststats.dev/v0/projects/string/dashboard-text-tiles' \
  -H 'Content-Type: application/json' \
  -d '{
  "dashboardId": "string",
  "body": "string"
}'
Example Response
{
  "id": "string",
  "projectId": "string",
  "dashboardId": "string",
  "body": "string",
  "position": {
    "x": 0,
    "y": 0,
    "w": 0,
    "h": 0
  },
  "createdAt": "string",
  "updatedAt": "string"
}