Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yaml Documentation Update (tree and capture response objects) #383

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 36 additions & 21 deletions docs/api/spec/query-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1302,43 +1302,46 @@ components:
maxItems: 2
description: 2 points defining the bounding box
tree:
description: a single tree object
description: A single tree object
type: object
x-examples: {}
title: ''
properties:
id:
type: number
photo_url:
type: string
verified:
type: boolean
token_id:
type: string
created_at:
latest_capture_id:
type: number
image_url:
type: string
lat:
type: number
lon:
type: number
species_id:
type: number
planter_id:
type: number
estimated_geometric_location:
type: string
gps_accuracy:
type: number
capture_id:
morphology:
type: string
description: "In the public.trees table, it's the uuid column"
capture_approval_tag:
age:
type: number
created_at:
type: string
domain_specific_data:
type: object
morphology:
updated_at:
type: string
rejection_reason:
estimated_geographic_location:
type: string
age:
status:
type: string
attributes:
type: string
species_id:
type: number
species_name:
type: string
species_description:
type: string
country_name:
type: string
country:
description: ''
Expand Down Expand Up @@ -1556,7 +1559,7 @@ components:
phone:
type: string
capture:
description: ''
description: A tree photo capture and its associated data package, representing a tree at a given moment in time
type: object
properties:
id:
Expand All @@ -1569,6 +1572,18 @@ components:
type: string
image_url:
type: string
grower_id:
type: number
growing_organization_id:
type: number
token_id:
type: number
approved:
type: boolean
wallet_id:
type: number
wallet_name:
type: string
grower_account:
description: ''
type: object
Expand Down
Loading