Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit e162946

Browse files
ryanwaitsmax-crawford
authored andcommitted
docs: update openapi description
update openapi description Update src/api/schemas.ts Co-authored-by: max-crawford <102705427+max-crawford@users.noreply.github.com> Update src/api/schemas.ts Co-authored-by: max-crawford <102705427+max-crawford@users.noreply.github.com> Update src/api/schemas.ts Co-authored-by: max-crawford <102705427+max-crawford@users.noreply.github.com> Update src/api/schemas.ts Co-authored-by: max-crawford <102705427+max-crawford@users.noreply.github.com>
1 parent 88ad130 commit e162946

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/api/schemas.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,20 @@ export const OpenApiSchemaOptions: SwaggerOptions = {
88
openapi: {
99
info: {
1010
title: 'Ordinals API',
11-
description:
12-
'A service that indexes Bitcoin Ordinals data and exposes it via REST API endpoints.',
11+
description: `
12+
The [Ordinals API](https://docs.hiro.so/ordinals-api) is a service that indexes Bitcoin Ordinals data and exposes it via REST API endpoints.
13+
14+
Here are the key features of the Ordinals API:
15+
16+
- **Ordinal Inscription Ingestion**: The Ordinals API helps with the complete ingestion of ordinal inscriptions. Using our endpoints, you can retrieve the metadata for a particular inscription, all inscriptions held by a particular address, trading activity for inscriptions, and more.
17+
18+
- **BRC-20 Support**: The Ordinals API also offers support for BRC-20 tokens, a fungible token standard built on top of ordinal theory. Retrieve data for a particular BRC-20 token, a user's BRC-20 holdings, marketplace activity, and more.
19+
20+
- **REST JSON Endpoints with ETag Caching**: The Ordinals API provides easy-to-use REST endpoints that return responses in JSON format. It also supports ETag caching, which allows you to cache responses based on inscriptions. This helps optimize performance and reduce unnecessary requests.
21+
22+
23+
The source code for this project is available in our [GitHub repository](https://github.com/hirosystems/ordinals-api). You can explore the codebase, contribute, and raise issues or pull requests.
24+
`,
1325
version: SERVER_VERSION.tag,
1426
},
1527
externalDocs: {

0 commit comments

Comments
 (0)