Skip to content

Commit

Permalink
feat: update openapi documentation for grower_account endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-rice committed Apr 20, 2024
1 parent fa194cb commit e282e8f
Showing 1 changed file with 58 additions and 7 deletions.
65 changes: 58 additions & 7 deletions docs/api/spec/query-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1537,11 +1537,9 @@ components:
photo_url:
type: string
description: it would be great if we can set a wallet avatar and show it on the wallet page

stakeholder:
description: ''
type: object

properties:
id:
type: number
Expand All @@ -1557,7 +1555,6 @@ components:
type: string
phone:
type: string

capture:
description: ''
type: object
Expand All @@ -1572,29 +1569,83 @@ components:
type: string
image_url:
type: string

grower_account:
description: ''
type: object
properties:
id:
type: number
format: uuid
wallet:
type: string
person_id:
type: number
format: uuid
nullable: true
organization_id:
type: number
format: uuid
nullable: true
first_name:
type: string
email:
type: string
format: email
nullable: true
phone:
type: string
nullable: true
image_url:
type: string
image_rotation:
type: number
status:
type: string
first_registration_at:
type: string
format: date-time
created_at:
type: string
format: date-time
updated_at:
type: string
format: date-time
last_name:
type: string
nullable: true
location:
type: string
description: 'The spatial location represented as geometry(Point,4326).'
nullable: true
lon:
type: number
nullable: true
lat:
type: number
nullable: true
bulk_pack_file_name:
type: string
nullable: true
gender:
type: string
nullable: true
about:
type: string
nullable: true
reference_id:
type: number
nullable: true
show_in_map:
type: boolean
links:
type: object
properties:
featured_trees:
type: string
description: ''
associated_organizations:
type: string
description: ''
species:
type: string
description: ''
field_data:
description: ''
type: object
Expand Down

0 comments on commit e282e8f

Please sign in to comment.