Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: Colourmemory Com Share API
version: 2.3.4
description: 'Operations tagged Share across 2 of this provider''s published API definitions: colourmemory-com-openapi.json, colourmemory-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.colourmemory.com
description: Host serving this spec; also named as mcp_endpoint host in https://api.colourmemory.com/mcp discovery document (vendor PR Eye Ltd).
tags:
- name: Share
paths:
/share:
post:
summary: Share Result
description: 'Freeze the session''s most recent result and mint a link for it.
PRIVATE BY DEFAULT: nothing is published by asking a question. This is
the only way a result becomes reachable, and it needs the session that
produced it -- a result is not shareable by anyone who merely knows it
exists.'
operationId: share_result_share_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ShareRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Share
/share/{share_id}/revoke:
post:
summary: Revoke Share
description: 'Pull a link: the owning session, or the token issued when it was made.
The session is not required when a token is presented -- sessions last
two hours and the link lasts ninety days, so demanding one would mean
a link can only be withdrawn on the day it was created.'
operationId: revoke_share_share__share_id__revoke_post
parameters:
- name: share_id
in: path
required: true
schema:
type: string
title: Share Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ShareRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Share
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ShareRequest:
properties:
session_id:
type: string
title: Session Id
default: ''
include_image:
type: boolean
title: Include Image
default: false
revoke_token:
type: string
title: Revoke Token
default: ''
type: object
title: ShareRequest
x-refined-from:
- colourmemory-com-openapi.json
- colourmemory-com-openapi.yml