Skip to content

Latest commit

History

History
45 lines (29 loc) 路 1.64 KB

CollectionsApi.md

File metadata and controls

45 lines (29 loc) 路 1.64 KB

{{classname}}

All URIs are relative to https://rest-canary.onflow.org/v1/

Method HTTP request Description
CollectionsIdGet Get /collections/{id} Gets a Collection by ID

CollectionsIdGet

Collection CollectionsIdGet(ctx, id, optional) Gets a Collection by ID

Get a collection by provided collection ID.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
id string The collection ID.
optional *CollectionsApiCollectionsIdGetOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a CollectionsApiCollectionsIdGetOpts struct

Name Type Description Notes

expand | optional.Interface of []string| A comma-separated list indicating which properties of the content to expand. | select_ | optional.Interface of []string| A comma-separated list indicating which properties of the content to return. |

Return type

Collection

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]