openapi: 3.0.0 info: title: Fieldguide api sheet-columns API description: An API for interacting with the [Fieldguide](https://fieldguide.io) platform version: v1 contact: {} servers: - url: https://api.fieldguide.io description: Fieldguide API security: - bearer: [] tags: - name: sheet-columns description: Endpoints used to interact with Fieldguide Sheet Columns paths: /v1/sheets/{uuid}/columns: get: operationId: list_sheet_columns_v1 parameters: - name: uuid required: true in: path description: The UUID of the Sheet for which to get Sheet Columns schema: format: uuid type: string - name: page required: false in: query schema: type: number default: 1 nullable: true - name: per_page required: false in: query schema: type: number default: 50 nullable: true minimum: 1 maximum: 200 - name: sort_order required: false in: query description: Sort order for paginated results. Use `desc` to reverse the default ascending order. schema: type: string default: asc enum: - asc - desc responses: '200': description: The Columns contained within the specified Sheet content: application/json: schema: allOf: - properties: data: type: array items: $ref: '#/components/schemas/SheetColumnRead' - properties: _links: type: object required: - self - first - last properties: self: type: object description: The URL for the current page being fetched properties: href: type: string example: https://api.fieldguide.io/v1/example?page=2&per_page=50 first: type: object description: The URL for the first page of the set properties: href: type: string example: https://api.fieldguide.io/v1/example?page=1&per_page=50 last: type: object description: The URL for the last page of the set properties: href: type: string example: https://api.fieldguide.io/v1/example?page=10&per_page=50 previous: type: object description: The URL for the previous page in the set, if there is one properties: href: type: string example: https://api.fieldguide.io/v1/example?page=1&per_page=50 next: type: object description: The URL for the next page in the set, if there is one properties: href: type: string example: https://api.fieldguide.io/v1/example?page=3&per_page=50 '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden (requires scopes `sheets:read`) '404': description: Resource not found '429': description: Too many requests summary: List Sheet Columns that belong to the specified Sheet tags: - sheet-columns x-required-scopes: - sheets:read components: schemas: SheetColumnFormat: type: string enum: - text - number - list description: The data type of values stored in this column. SheetColumnRead: type: object properties: uuid: type: string format: uuid example: 4d50d252-be0c-4d69-b77a-5bbdfef83f54 title: type: string example: Example Title type: example: text description: The data type of values stored in this column. allOf: - $ref: '#/components/schemas/SheetColumnFormat' created_at: format: date-time type: string example: '2023-01-01T12:30:00.000Z' updated_at: format: date-time type: string example: '2023-01-01T12:30:00.000Z' _links: $ref: '#/components/schemas/SheetColumnReadLinks' required: - uuid - title - type - created_at - updated_at - _links SheetColumnReadLinks: type: object properties: fieldguide: description: A URL the user can visit to view the Sheet Column within the Fieldguide web application example: href: https://app.fieldguide.io/engagements/165/workplan/183 title: View the Sheet for this Sheet Column in Fieldguide type: text/html allOf: - $ref: '#/components/schemas/HalLink' required: - fieldguide HalLink: type: object properties: href: type: string example: https://example.com/resource/or/path format: uri title: type: string description: A human-readable title for the link example: A description for the link type: type: string description: The content-type example: text/html required: - href - type securitySchemes: bearer: scheme: bearer bearerFormat: JWT type: http externalDocs: description: Fieldguide API Documentation url: https://fieldguide.io/developers