-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from holaplex/espi/open-drops-api-reference
API Docs - Switch Collections and Open Drops
- Loading branch information
Showing
33 changed files
with
730 additions
and
17 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
id: drop-type | ||
title: DropType | ||
hide_table_of_contents: true | ||
pagination_next: null | ||
pagination_prev: null | ||
--- | ||
|
||
|
||
|
||
export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}> ● </span></> | ||
|
||
export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></> | ||
|
||
export const Badge = (props) => <><span className={'badge badge--' + props.class}>{props.text}</span></> | ||
|
||
|
||
No description | ||
|
||
```graphql | ||
enum DropType { | ||
EDITION | ||
OPEN | ||
} | ||
``` | ||
|
||
|
||
### Values | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>DropType.<b>EDITION</b></code>](#) | ||
> | ||
> | ||
#### [<code style={{ fontWeight: 'normal' }}>DropType.<b>OPEN</b></code>](#) | ||
> | ||
> | ||
|
||
|
||
### Member of | ||
|
||
[`CreateDropInput`](/api/inputs/create-drop-input) <Badge class="secondary" text="input"/><Bullet />[`Drop`](/api/objects/drop) <Badge class="secondary" text="object"/> | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
id: schema | ||
slug: /api/generated | ||
title: Schema Documentation | ||
sidebar_position: 1 | ||
hide_table_of_contents: true | ||
pagination_next: null | ||
pagination_prev: null | ||
sidebar_class_name: navbar__toggle | ||
--- | ||
|
||
This documentation has been automatically generated from the GraphQL schema. | ||
|
||
Use the docs in the sidebar to find out how to use the schema: | ||
|
||
- **Allowed operations**: queries and mutations. | ||
- **Schema-defined types**: scalars, objects, enums, interfaces, unions, and input objects. | ||
|
||
<small><i>Generated on 9/28/2023, 10:33:27 AM.</i></small> |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
id: mint-queued-input | ||
title: MintQueuedInput | ||
hide_table_of_contents: true | ||
pagination_next: null | ||
pagination_prev: null | ||
--- | ||
|
||
|
||
|
||
export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}> ● </span></> | ||
|
||
export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></> | ||
|
||
export const Badge = (props) => <><span className={'badge badge--' + props.class}>{props.text}</span></> | ||
|
||
|
||
Represents input data for `mint_queued` mutation | ||
|
||
```graphql | ||
input MintQueuedInput { | ||
mint: UUID! | ||
recipient: String! | ||
compressed: Boolean! | ||
} | ||
``` | ||
|
||
|
||
### Fields | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>MintQueuedInput.<b>mint</b></code>](#)<Bullet />[`UUID!`](/api/scalars/uuid) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>MintQueuedInput.<b>recipient</b></code>](#)<Bullet />[`String!`](/api/scalars/string) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>MintQueuedInput.<b>compressed</b></code>](#)<Bullet />[`Boolean!`](/api/scalars/boolean) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
|
||
|
||
### Member of | ||
|
||
[`mintQueued`](/api/mutations/mint-queued) <Badge class="secondary" text="mutation"/> | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
id: mint-random-queued-input | ||
title: MintRandomQueuedInput | ||
hide_table_of_contents: true | ||
pagination_next: null | ||
pagination_prev: null | ||
--- | ||
|
||
|
||
|
||
export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}> ● </span></> | ||
|
||
export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></> | ||
|
||
export const Badge = (props) => <><span className={'badge badge--' + props.class}>{props.text}</span></> | ||
|
||
|
||
Represents input data for `mint_random_queued` mutation | ||
|
||
```graphql | ||
input MintRandomQueuedInput { | ||
drop: UUID! | ||
recipient: String! | ||
compressed: Boolean! | ||
} | ||
``` | ||
|
||
|
||
### Fields | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>MintRandomQueuedInput.<b>drop</b></code>](#)<Bullet />[`UUID!`](/api/scalars/uuid) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>MintRandomQueuedInput.<b>recipient</b></code>](#)<Bullet />[`String!`](/api/scalars/string) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>MintRandomQueuedInput.<b>compressed</b></code>](#)<Bullet />[`Boolean!`](/api/scalars/boolean) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
|
||
|
||
### Member of | ||
|
||
[`mintRandomQueuedToDrop`](/api/mutations/mint-random-queued-to-drop) <Badge class="secondary" text="mutation"/> | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
id: queue-mint-to-drop-input | ||
title: QueueMintToDropInput | ||
hide_table_of_contents: true | ||
pagination_next: null | ||
pagination_prev: null | ||
--- | ||
|
||
|
||
|
||
export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}> ● </span></> | ||
|
||
export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></> | ||
|
||
export const Badge = (props) => <><span className={'badge badge--' + props.class}>{props.text}</span></> | ||
|
||
|
||
Represents input data for `queue_mint_to_drop` mutation | ||
|
||
```graphql | ||
input QueueMintToDropInput { | ||
drop: UUID! | ||
metadataJson: MetadataJsonInput! | ||
} | ||
``` | ||
|
||
|
||
### Fields | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>QueueMintToDropInput.<b>drop</b></code>](#)<Bullet />[`UUID!`](/api/scalars/uuid) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>QueueMintToDropInput.<b>metadataJson</b></code>](#)<Bullet />[`MetadataJsonInput!`](/api/inputs/metadata-json-input) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="input"/> | ||
> | ||
> | ||
|
||
|
||
|
||
### Member of | ||
|
||
[`queueMintToDrop`](/api/mutations/queue-mint-to-drop) <Badge class="secondary" text="mutation"/> | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
id: switch-collection-input | ||
title: SwitchCollectionInput | ||
hide_table_of_contents: true | ||
pagination_next: null | ||
pagination_prev: null | ||
--- | ||
|
||
|
||
|
||
export const Bullet = () => <><span style={{ fontWeight: 'normal', fontSize: '.5em', color: 'var(--ifm-color-secondary-darkest)' }}> ● </span></> | ||
|
||
export const SpecifiedBy = (props) => <>Specification<a className="link" style={{ fontSize:'1.5em', paddingLeft:'4px' }} target="_blank" href={props.url} title={'Specified by ' + props.url}>⎘</a></> | ||
|
||
export const Badge = (props) => <><span className={'badge badge--' + props.class}>{props.text}</span></> | ||
|
||
|
||
Input object for switching a mint's collection. | ||
|
||
```graphql | ||
input SwitchCollectionInput { | ||
mint: UUID! | ||
collectionAddress: String! | ||
} | ||
``` | ||
|
||
|
||
### Fields | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>SwitchCollectionInput.<b>mint</b></code>](#)<Bullet />[`UUID!`](/api/scalars/uuid) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
#### [<code style={{ fontWeight: 'normal' }}>SwitchCollectionInput.<b>collectionAddress</b></code>](#)<Bullet />[`String!`](/api/scalars/string) <Badge class="secondary" text="non-null"/> <Badge class="secondary" text="scalar"/> | ||
> | ||
> | ||
|
||
|
||
|
||
### Member of | ||
|
||
[`switchCollection`](/api/mutations/switch-collection) <Badge class="secondary" text="mutation"/> | ||
|
||
|
||
|
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
Oops, something went wrong.