Project Blocks

Fetch project blocks

Returns the blocks in a Ditto project, in display order.

Blocks group text items within a project.

get/projectBlocks

Request

  • Base URL: https://api.dittowords.com/v2
  • URL: https://api.dittowords.com/v2/projectBlocks
  • Auth: API key in header Authorization

Query parameters

projectIdstring required

Developer ID of the project to list blocks for

Response

Returns an array of blocks in the project, in display order

idstring required

The Developer ID of the block

namestring required

The name of the block

Example response

[
  {
    "id": "header",
    "name": "Header"
  },
  {
    "id": "footer",
    "name": "Footer"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.