Created
March 16, 2023 23:25
-
-
Save DavidBiesack/1d0f20f40c5cc3ec7682b00917e7085d to your computer and use it in GitHub Desktop.
listChainLinks operation with 200 OK response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: '3.1.0' | |
info: | |
title: listChainLinks with default 200 OK response | |
description: Part of the Chain Links API. | |
contact: | |
name: David Biesack | |
url: https://gist.github.com/DavidBiesack | |
version: 0.0.0 | |
tags: | |
- name: Chain Links | |
servers: | |
- url: https://api.chainlinks.example.com | |
paths: | |
/chainLinks: | |
get: | |
operationId: listChainLinks | |
summary: List the chain links | |
description: Return a paginated list of the chain links in the system. | |
tags: | |
- Chain Links | |
responses: | |
'200': | |
description: OK. The operation succeeded. | |
content: | |
application/json: | |
schema: | |
title: Chain Links | |
description: A page of chain link items from a collection of chain links. | |
type: object | |
properties: | |
items: | |
title: Chain Link Items | |
description: A list of chain links in this page. | |
type: array | |
maxItems: 10000 | |
items: | |
title: Chain Link Item | |
description: A concise representation of a chain link item in a list of chain links. | |
type: object | |
properties: | |
id: | |
description: This chain link's unique resource identifier. | |
type: string | |
minLength: 4 | |
maxLength: 48 | |
pattern: ^[-_a-zA-Z0-9:+$]{4,48}$ | |
type: | |
description: Describes what type of chain link this is. | |
type: string | |
authorId: | |
description: The ID of the author who created this chain link. | |
type: string | |
minLength: 4 | |
maxLength: 48 | |
pattern: ^[-_a-zA-Z0-9:+$]{4,48}$ | |
createdAt: | |
description: The [https://www.rfc-editor.org/rfc/rfc3339#section-5](date-time) | |
when this chain link was created. | |
type: string | |
format: date-time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment