API reference
1 endpoint, served at https://orbitwrite.com/api/v1. Each one lists the credentials it accepts, its parameters and every response it can give.
Adds a Dev.to account to the workspace's channels, so articles can be published to it. Dev.to has no OAuth flow: the person generates an API key on Dev.to (Settings → Extensions → DEV Community API Keys) and this call takes it. The key is checked against Dev.to, the account it belongs to becomes the channel, and the key is stored encrypted as that channel's credential — it is never returned by any read. A key Dev.to refuses is a 400. Requires account:connect.
An API key or OAuth access token as a bearer token, or a signed-in session.
organizationIdstringSession callers only — an API key already determines the workspace.
At least 1 character.
apiKeystringRequiredA Dev.to API key, generated on Dev.to under Settings → Extensions → DEV Community API Keys. The account it belongs to becomes the channel; the key is stored encrypted and never returned.
Between 8 and 256 characters.
200ConnectDevtoChannelResultThe account is connected
channelConnectedDevtoChannelRequiredidstringRequireddisplayHandlestringRequiredThe Dev.to username.
namestringRequiredcreatedbooleanRequiredrestoredbooleanRequiredbecamePrimarybooleanRequiredcurl -X POST "https://orbitwrite.com/api/v1/integrations/devto/channels" \
-H "Authorization: Bearer $ORBITWRITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"apiKey": "string"
}'{
"channel": {
"id": "string",
"displayHandle": "string",
"name": "string",
"created": true,
"restored": true,
"becamePrimary": true
}
}