Fermyon device-codes API
The device-codes API from Fermyon — 3 operation(s) for device-codes.
The device-codes API from Fermyon — 3 operation(s) for device-codes.
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/fermyon-device-codes-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: Fermyon Cloud accounts Device Codes API
version: '1.0'
description: OpenAPI 3.1 specification for the Fermyon Cloud REST API, derived from the public swagger.json published in the fermyon/cloud-openapi repository on GitHub.
servers:
- url: https://cloud.fermyon.com
description: Fermyon Cloud production API
security:
- Bearer: []
tags:
- name: device-codes
paths:
/api/device-codes:
post:
tags:
- device-codes
parameters:
- name: Api-Version
in: header
description: The requested API version
schema:
type: string
default: '1.0'
requestBody:
content:
application/json-patch+json:
schema:
$ref: '#/components/schemas/CreateDeviceCodeCommand'
application/json:
schema:
$ref: '#/components/schemas/CreateDeviceCodeCommand'
text/json:
schema:
$ref: '#/components/schemas/CreateDeviceCodeCommand'
application/*+json:
schema:
$ref: '#/components/schemas/CreateDeviceCodeCommand'
required: true
responses:
'200':
description: Success
content:
text/plain:
schema:
$ref: '#/components/schemas/DeviceCodeItem'
application/json:
schema:
$ref: '#/components/schemas/DeviceCodeItem'
text/json:
schema:
$ref: '#/components/schemas/DeviceCodeItem'
/api/device-codes/{userCode}:
get:
tags:
- device-codes
parameters:
- name: userCode
in: path
required: true
schema:
type: string
- name: Api-Version
in: header
description: The requested API version
schema:
type: string
default: '1.0'
responses:
'200':
description: Success
content:
text/plain:
schema:
$ref: '#/components/schemas/DeviceCodeDetails'
application/json:
schema:
$ref: '#/components/schemas/DeviceCodeDetails'
text/json:
schema:
$ref: '#/components/schemas/DeviceCodeDetails'
/api/device-codes/activate:
post:
tags:
- device-codes
parameters:
- name: Api-Version
in: header
description: The requested API version
schema:
type: string
default: '1.0'
requestBody:
content:
application/json-patch+json:
schema:
$ref: '#/components/schemas/ActivateDeviceCodeCommand'
application/json:
schema:
$ref: '#/components/schemas/ActivateDeviceCodeCommand'
text/json:
schema:
$ref: '#/components/schemas/ActivateDeviceCodeCommand'
application/*+json:
schema:
$ref: '#/components/schemas/ActivateDeviceCodeCommand'
required: true
responses:
'200':
description: Success
components:
schemas:
CreateDeviceCodeCommand:
required:
- clientId
type: object
properties:
clientId:
type: string
format: uuid
additionalProperties: false
DeviceCodeItem:
required:
- deviceCode
- expiresIn
- interval
- userCode
- verificationUrl
type: object
properties:
deviceCode:
minLength: 1
type: string
userCode:
minLength: 1
type: string
verificationUrl:
minLength: 1
type: string
expiresIn:
type: integer
format: int64
interval:
type: integer
format: int32
additionalProperties: false
ActivateDeviceCodeCommand:
required:
- userCode
type: object
properties:
userCode:
minLength: 1
type: string
additionalProperties: false
DeviceCodeDetails:
type: object
properties:
clientName:
type: string
additionalProperties: false
securitySchemes:
Bearer:
type: apiKey
description: 'JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"'
name: Authorization
in: header