Portamora Versions API
The Versions API from Portamora — 2 operation(s) for versions.
The Versions API from Portamora — 2 operation(s) for versions.
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/portamora-app:portamora-app-versions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: Portamora Versions API
version: 1.0.0
description: 'Catalog, publishing, community and safety API. Public catalog reads need no account. Private responses use no-store. Browser mutations require the configured Origin. Writes through CloudFront require x-amz-content-sha256: the lowercase SHA-256 hex digest of the exact request body, including an empty body. Clients do not need AWS credentials. The website sign-in page shows available authentication providers.'
servers:
- url: https://portamora.app
tags:
- name: Versions
paths:
/api/v1/versions/{versionId}:
get:
operationId: versions.get
summary: Read the current ready version of a published world
description: Read the current ready version of a published world. Unpublished versions are not exposed.
parameters:
- schema:
type: string
minLength: 18
maxLength: 18
pattern: ^version_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
description: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.
required: true
description: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.
name: versionId
in: path
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/WorldVersion'
'400':
description: Invalid request or cursor
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: Resource not found or not publicly visible
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'503':
description: Catalog temporarily unavailable
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
tags:
- Versions
/api/v1/versions/{versionId}/preview:
post:
operationId: post..versions.versionId.preview
summary: Issue a 15-minute private preview URL
description: Issue a 15-minute private preview URL. Each asset checks the owner grant; the source ZIP is never served.
security:
- session: []
- bearer: []
parameters:
- schema:
type: string
minLength: 18
maxLength: 18
pattern: ^version_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
description: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.
required: true
description: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.
name: versionId
in: path
- in: header
name: x-amz-content-sha256
required: true
description: Lowercase SHA-256 hex of the exact body bytes, including the empty body. The example client adds this automatically; no AWS credentials are needed.
schema:
type: string
pattern: ^[a-f0-9]{64}$
responses:
'200':
description: 'Successful private response; Cache-Control: no-store.'
content:
application/json:
schema:
type: object
properties:
worldId:
type: string
minLength: 16
maxLength: 16
pattern: ^world_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
description: Case-sensitive world identifier with 10 safe-alphabet characters after the prefix.
versionId:
type: string
minLength: 18
maxLength: 18
pattern: ^version_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
description: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.
expiresAt:
type: string
format: date-time
url:
type: string
format: uri
required:
- worldId
- versionId
- expiresAt
- url
'400':
description: Invalid input or expired sign-in link.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
'401':
description: Authentication required.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
'403':
description: Missing scope, browser session, fresh sign-in, or matching Origin.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
'404':
description: Missing resource or resource owned by someone else.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
'409':
description: Conflicting handle, idempotency key, or version state.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
'410':
description: The upload window has expired. Allocate a new upload with a new key.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
'413':
description: Request body or uploaded file exceeds its limit.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
'429':
description: Rate limit reached. Retry-After header and details.retryAt give the next allowed attempt.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
'503':
description: Temporarily unavailable.
content:
application/json:
schema:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
tags:
- Versions
components:
schemas:
ApiError:
type: object
properties:
code:
type: string
message:
type: string
details:
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
required:
- path
- message
required:
- code
- message
- details
WorldVersion:
type: object
properties:
id:
type: string
minLength: 18
maxLength: 18
pattern: ^version_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
description: Case-sensitive version identifier with 10 safe-alphabet characters after the prefix.
worldId:
type: string
minLength: 16
maxLength: 16
pattern: ^world_[6789BCDFGHJKLMNPQRTWbcdfghjkmnpqrtwz]{10}$
description: Case-sensitive world identifier with 10 safe-alphabet characters after the prefix.
versionNumber:
type: integer
exclusiveMinimum: 0
sdkVersion:
type: number
enum:
- 1
bytesUnpacked:
type: integer
minimum: 0
notes:
type:
- string
- 'null'
createdAt:
type: string
format: date-time
packagePath:
type: string
controls:
type:
- object
- 'null'
additionalProperties:
type: string
minLength: 1
maxLength: 160
default: null
links:
type: object
properties:
self:
type: string
format: uri
world:
type: string
format: uri
play:
type: string
format: uri
entry:
type: string
format: uri
required:
- self
- world
- play
- entry
required:
- id
- worldId
- versionNumber
- sdkVersion
- bytesUnpacked
- notes
- createdAt
- packagePath
- links
securitySchemes:
session:
type: apiKey
in: cookie
name: __Host-session
bearer:
type: http
scheme: bearer
description: A personal access token shown once in Settings. Scopes and ownership are checked per operation.