Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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: Etherna Tag API
version: 7.3.0
description: 'Operations tagged Tag across 2 of this provider''s published API definitions: etherna-swarm-openapi.yml, etherna-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://{apiRoot}:{port}/v1
variables:
apiRoot:
default: localhost
description: Base address of the local bee node main API
port:
default: '1633'
description: Service port provided in bee node config
- url: http://{apiRoot}:{port}
variables:
apiRoot:
default: localhost
description: Base address of the local bee node main API
port:
default: '1633'
description: Service port provided in bee node config
tags:
- name: Tag
paths:
/tags:
get:
summary: Get list of tags
tags:
- Tag
parameters:
- in: query
name: offset
schema:
type: integer
format: int64
minimum: 0
default: 0
required: false
description: The number of items to skip before starting to collect the result set.
- in: query
name: limit
schema:
type: integer
minimum: 1
maximum: 1000
default: 100
required: false
description: The numbers of items to return.
responses:
'200':
description: List of tags
content:
application/json:
schema:
$ref: SwarmCommon.yaml#/components/schemas/TagsList
'500':
$ref: SwarmCommon.yaml#/components/responses/500
default:
description: Default response
operationId: getTags
x-operation-id-source: derived
post:
summary: Create Tag
tags:
- Tag
description: Tags can be thought of as upload sessions which can be tracked using the tags endpoint. It will keep track of the chunks that are uploaded as part of the tag and will push them out to the network once a done split is called on the Tag. This happens internally if you use the `Swarm-Deferred-Upload` header.
requestBody:
required: true
content:
application/json:
schema:
$ref: SwarmCommon.yaml#/components/schemas/NewTagRequest
responses:
'201':
description: New Tag Info
content:
application/json:
schema:
$ref: SwarmCommon.yaml#/components/schemas/NewTagResponse
'500':
$ref: SwarmCommon.yaml#/components/responses/500
default:
description: Default response
operationId: postTags
x-operation-id-source: derived
servers:
- url: http://{apiRoot}:{port}/v1
variables:
apiRoot:
default: localhost
description: Base address of the local bee node main API
port:
default: '1633'
description: Service port provided in bee node config
- url: http://{apiRoot}:{port}
variables:
apiRoot:
default: localhost
description: Base address of the local bee node main API
port:
default: '1633'
description: Service port provided in bee node config
/tags/{uid}:
get:
summary: Get Tag information using Uid
tags:
- Tag
parameters:
- in: path
name: uid
schema:
$ref: SwarmCommon.yaml#/components/schemas/Uid
required: true
description: Uid
responses:
'200':
description: Tag info
content:
application/json:
schema:
$ref: SwarmCommon.yaml#/components/schemas/NewTagResponse
'400':
$ref: SwarmCommon.yaml#/components/responses/400
'404':
$ref: SwarmCommon.yaml#/components/responses/404
'500':
$ref: SwarmCommon.yaml#/components/responses/500
default:
description: Default response
operationId: getTagsByUid
x-operation-id-source: derived
delete:
summary: Delete Tag information using Uid
tags:
- Tag
parameters:
- in: path
name: uid
schema:
$ref: SwarmCommon.yaml#/components/schemas/Uid
required: true
description: Uid
responses:
'204':
$ref: SwarmCommon.yaml#/components/responses/204
'400':
$ref: SwarmCommon.yaml#/components/responses/400
'404':
$ref: SwarmCommon.yaml#/components/responses/404
'500':
$ref: SwarmCommon.yaml#/components/responses/500
default:
description: Default response
operationId: deleteTagsByUid
x-operation-id-source: derived
patch:
summary: Update Total Count and swarm hash for a tag of an input stream of unknown size…
tags:
- Tag
parameters:
- in: path
name: uid
schema:
$ref: SwarmCommon.yaml#/components/schemas/Uid
required: true
description: Uid
requestBody:
description: Can contain swarm hash to use for the tag
required: false
content:
application/json:
schema:
$ref: SwarmCommon.yaml#/components/schemas/Address
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: SwarmCommon.yaml#/components/schemas/Response
'404':
$ref: SwarmCommon.yaml#/components/responses/404
'500':
$ref: SwarmCommon.yaml#/components/responses/500
default:
description: Default response
operationId: patchTagsByUid
x-operation-id-source: derived
servers:
- url: http://{apiRoot}:{port}/v1
variables:
apiRoot:
default: localhost
description: Base address of the local bee node main API
port:
default: '1633'
description: Service port provided in bee node config
- url: http://{apiRoot}:{port}
variables:
apiRoot:
default: localhost
description: Base address of the local bee node main API
port:
default: '1633'
description: Service port provided in bee node config
externalDocs:
description: Browse the documentation @ the Swarm Docs
url: https://docs.ethswarm.org
x-refined-from:
- etherna-swarm-openapi.yml
- etherna-openapi.yaml