Ditto (dittowords.com) Projects API
The Projects API from Ditto (dittowords.com) — 4 operation(s) for projects.
The Projects API from Ditto (dittowords.com) — 4 operation(s) for projects.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/dittowords:dittowords-projects-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Dittowords Projects API
version: 1.0.0
description: 'Operations tagged Projects across 2 of this provider''s published API definitions: dittowords-openapi-10-18-23-openapi.json, dittowords-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.dittowords.com/v1
- url: https://api.dittowords.com/v2
tags:
- name: Projects
paths:
/projects:
get:
tags:
- Projects
description: Returns a list of Ditto projects. Only projects with Developer Mode enabled can be fetched.
summary: Fetch projects
security:
- ApiKeyAuth: []
responses:
'200':
description: The projects will return as a JSON Object with each project under it's own project ID in the format project_<DITTO_PROJECT_ID> as the key in the object.
content:
application/json:
schema:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
url:
type: string
required:
- id
- name
- url
operationId: getProjects
x-operation-id-source: derived
post:
tags:
- Projects
description: 'Creates a new Ditto project in your workspace.
Projects hold project-scoped text items, as opposed to library components which are reusable across projects.'
summary: Create a project
security:
- ApiKeyAuth: []
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
description: The name of the new project.
folderId:
type: string
description: The developer ID of the folder to create the project in. If omitted, the project is created at the workspace root.
baseId:
type: string
description: The Developer ID of the base to connect the new project to. If omitted, the project will not be connected to a base.
required:
- name
example:
name: My New Project
folderId: my-folder-id
baseId: my-base
responses:
'200':
description: Returns the developer ID and name of the created project, as well as the developer ID of the connected base (or null).
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: The Developer ID of the project
name:
type: string
description: The name of the project
baseId:
type:
- string
- 'null'
description: The Developer ID of the base the project is connected to, or null if not connected to a base
required:
- id
- name
- baseId
example:
id: my-new-project
name: My New Project
baseId: my-base
examples:
no_base:
summary: Project not connected to a base
value:
id: my-new-project
name: My New Project
baseId: null
connected_to_base:
summary: Project connected to a base
value:
id: my-new-project
name: My New Project
baseId: my-base
operationId: postProjects
x-operation-id-source: derived
servers:
- url: https://api.dittowords.com/v1
/projects/{id}:
get:
tags:
- Projects
description: 'Returns the contents of the Ditto project referred to by :id. You can find the id of a Ditto project from its URL: https://app.dittowords.com/doc/:id. Only projects with Developer Mode enabled can be fetched.'
summary: Fetch text by project id
security:
- ApiKeyAuth: []
parameters:
- schema:
type: string
required: true
name: id
in: path
- schema:
type: string
required: false
name: variant
in: query
- schema:
type: string
enum:
- flat
- structured
- nested
- icu
- android
- ios-strings
- ios-strings-dict
required: false
name: format
in: query
- schema:
type: string
enum:
- NONE
- WIP
- REVIEW
- FINAL
required: false
name: status
in: query
- schema:
type: boolean
required: false
name: includeRichText
in: query
- schema:
type: boolean
required: false
name: exclude_components
in: query
responses:
'200':
description: Returns contents of a project
content:
application/json:
schema:
anyOf:
- type: string
- type: object
additionalProperties: {}
- type: array
items:
type: object
properties:
project_name:
type: string
frames:
type: object
additionalProperties:
type: object
properties:
frameName:
type: string
blocks:
type: object
additionalProperties:
type: object
properties:
text:
anyOf:
- type: object
properties:
text:
type: string
tags:
type: array
items:
type: string
is_comp:
type: boolean
notes:
type: string
status:
type: string
required:
- text
- {}
- {}
otherText:
type: object
additionalProperties:
type: object
properties:
text:
type: string
tags:
type: array
items:
type: string
is_comp:
type: boolean
notes:
type: string
status:
type: string
required:
- text
required:
- frameName
required:
- project_name
- frames
operationId: getProjectsById
x-operation-id-source: derived
servers:
- url: https://api.dittowords.com/v1
/projects/{id}/components:
get:
tags:
- Projects
description: Returns the components used in the specified project. Format is identical to the format used by the Fetch components endpoint.
summary: Fetch component text by project id
security:
- ApiKeyAuth: []
parameters:
- schema:
type: string
required: true
name: id
in: path
- schema:
type: string
required: false
name: variant
in: query
- schema:
type: string
enum:
- flat
- structured
- nested
- icu
- android
- ios-strings
- ios-strings-dict
required: false
name: format
in: query
- schema:
type: string
enum:
- NONE
- WIP
- REVIEW
- FINAL
required: false
name: status
in: query
- schema:
type: boolean
required: false
name: includeRichText
in: query
responses:
'200':
description: Returns components a project
content:
application/json:
schema:
anyOf:
- type: string
- type: object
additionalProperties:
anyOf:
- type: string
- type: object
additionalProperties:
type: string
- type: object
additionalProperties:
type: object
properties:
text:
type: string
status:
type: string
notes:
type: string
tags:
type: array
items:
type: string
variables:
type: object
additionalProperties:
type: object
properties: {}
plurals:
anyOf:
- {}
- type: object
additionalProperties:
type: string
- {}
variants:
type: object
additionalProperties:
type: object
properties:
text:
type: string
variables:
type: object
additionalProperties:
type: object
properties: {}
plurals:
type: object
additionalProperties:
type: string
required:
- text
- variables
- plurals
required:
- text
- variables
- plurals
- variants
operationId: getProjectsByIdComponents
x-operation-id-source: derived
servers:
- url: https://api.dittowords.com/v1
/projects/{projectId}:
patch:
tags:
- Projects
description: 'Updates a project''s name, Developer ID, and/or connected base.
The project is identified by its current Developer ID in the URL path. Only provided fields are modified.'
summary: Update a project
security:
- ApiKeyAuth: []
parameters:
- schema:
type: string
minLength: 1
description: The Developer ID of the project to update
required: true
description: The Developer ID of the project to update
name: projectId
in: path
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
description: The new name of the project
baseId:
type:
- string
- 'null'
minLength: 1
description: The Developer ID of the base to connect the project to, or provide null to disconnect from its current base.
newDeveloperId:
type: string
minLength: 1
description: The new Developer ID of the project
example:
name: My Renamed Project
examples:
rename:
summary: Rename a project
value:
name: My Renamed Project
change_developer_id:
summary: Change the project's Developer ID
value:
newDeveloperId: my-renamed-project
connect_to_base:
summary: Connect the project to a base
value:
baseId: my-base
disconnect_from_base:
summary: Disconnect the project from its base
value:
baseId: null
responses:
'200':
description: Returns the developer ID and name of the updated project, as well as the developer ID of the connected base (or null).
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: The Developer ID of the project
name:
type: string
description: The name of the project
baseId:
type:
- string
- 'null'
description: The Developer ID of the base the project is connected to, or null if not connected to a base
required:
- id
- name
- baseId
example:
id: my-renamed-project
name: My Renamed Project
baseId: my-base
'400':
description: 'Returned when the request fails validation. Common causes:
- no fields provided to update
- an empty `name`
- a `newDeveloperId` that doesn''t match the workspace''s Developer ID format'
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error message describing the validation failure
required:
- message
example:
message: Must provide at least one field to update
'403':
description: Returned when `baseId` is provided but bases are not enabled for the workspace
content:
application/json:
schema:
type: object
properties:
message:
type: string
required:
- message
example:
message: Bases are not enabled for this workspace
'404':
description: Returned when the project or the provided base doesn't exist
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error message describing what was not found
required:
- message
example:
message: 'Could not find project: my-project'
'409':
description: Returned when `newDeveloperId` is already used by another project in the workspace
content:
application/json:
schema:
type: object
properties:
message:
type: string
required:
- message
example:
message: Already exists in workspace
operationId: patchProjectsByProjectId
x-operation-id-source: derived
servers:
- url: https://api.dittowords.com/v2
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: Authorization
x-refined-from:
- dittowords-openapi-10-18-23-openapi.json
- dittowords-openapi.json