-
Notifications
You must be signed in to change notification settings - Fork 53
Claify Transaction Extension behavior #271
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5a2bade
update Transaction Extension to more closely match OAFeat Part 4, dis…
536612a
txn ext: add id and collection population language
e78b6f9
changelog
3eb28c9
update body for txn post, put, and patch
158b857
update changelog
6192821
Merge branch 'dev' into pv/claify-txn-ext-semantics
f589717
fix circle node image name
4bb91d7
fix line length in CONTRIBUTING.md
7b1ec48
Merge branch 'dev' into pv/claify-txn-ext-semantics
philvarner 24c56f7
Merge branch 'dev' into pv/claify-txn-ext-semantics
philvarner f7ea637
fix warnings in filter extension openapi
philvarner 77fb0c8
fix styling
philvarner 0a13173
Merge branch 'dev' into pv/claify-txn-ext-semantics
philvarner bb69a6d
Merge branch 'dev' into pv/claify-txn-ext-semantics
philvarner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -21,8 +21,8 @@ paths: | |
| parameters: | ||
| - $ref: '../../openapi.yaml#/components/parameters/collectionId' | ||
| post: | ||
| summary: add a new STAC Item to a collection | ||
| description: create a new STAC Item in a specific collection | ||
| summary: add a new STAC Item or Items in an ItemCollection to a collection | ||
| description: create a new STAC Item r Items in an ItemCollection in a specific collection | ||
| operationId: postFeature | ||
| tags: | ||
| - Transaction | ||
|
|
@@ -31,8 +31,8 @@ paths: | |
| application/json: | ||
| schema: | ||
| oneOf: | ||
| - $ref: '../../../core/commons.yaml#/components/schemas/item' | ||
| - $ref: '../../../fragments/itemcollection/openapi.yaml#/components/schemas/itemCollection' | ||
| - $ref: '#/components/schemas/partialItemCollection' | ||
| - $ref: '#/components/schemas/partialItem' | ||
| responses: | ||
| '201': | ||
| description: Status of the create request. | ||
|
|
@@ -50,6 +50,8 @@ paths: | |
| application/json: | ||
| schema: | ||
| $ref: '../../../core/commons.yaml#/components/schemas/item' | ||
| '202': | ||
| description: The item was accepted for asynchronous action | ||
| '400': | ||
| $ref: '#/components/responses/BadRequest' | ||
| '404': | ||
|
|
@@ -98,6 +100,19 @@ paths: | |
| schema: | ||
| $ref: '../../../core/commons.yaml#/components/schemas/item' | ||
| responses: | ||
| '200': | ||
| description: The item was replaced | ||
| headers: | ||
| ETag: | ||
| schema: | ||
| type: string | ||
| description: An updated string to track changes | ||
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: '../../../core/commons.yaml#/components/schemas/item' | ||
| '202': | ||
| description: The item was accepted for asynchronous action | ||
| '204': | ||
| description: The item was replaced | ||
| headers: | ||
|
|
@@ -135,6 +150,19 @@ paths: | |
| schema: | ||
| $ref: '#/components/schemas/partialItem' | ||
| responses: | ||
| '200': | ||
| description: The item was replaced | ||
| headers: | ||
| ETag: | ||
| schema: | ||
| type: string | ||
| description: An updated string to track changes | ||
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: '../../../core/commons.yaml#/components/schemas/item' | ||
| '202': | ||
| description: The item was accepted for asynchronous action | ||
| '204': | ||
| description: Status of the update request. | ||
| headers: | ||
|
|
@@ -163,8 +191,12 @@ paths: | |
| parameters: | ||
| - $ref: '#/components/parameters/IfMatch' | ||
| responses: | ||
| '204': | ||
| '200': | ||
| description: The resource was deleted. | ||
| '202': | ||
| description: The operation was accepted for asynchronous executiona. | ||
| '204': | ||
| description: The resource was deleted. | ||
| '400': | ||
| $ref: '#/components/responses/BadRequest' | ||
| '404': | ||
|
|
@@ -196,6 +228,33 @@ components: | |
| schema: | ||
| type: string | ||
| schemas: | ||
| partialItemCollection: | ||
| description: >- | ||
| A GeoJSON FeatureCollection augmented with foreign members that contain values relevant to a STAC entity | ||
| type: object | ||
| required: | ||
| - features | ||
| - type | ||
| properties: | ||
| type: | ||
| type: string | ||
| enum: | ||
| - FeatureCollection | ||
| features: | ||
| type: array | ||
| items: | ||
| $ref: '#/components/schemas/partialItem' | ||
| links: | ||
| type: array | ||
| description: >- | ||
| An array of links. Can be used for pagination, e.g. by providing a link | ||
| with the `next` relation type. | ||
| items: | ||
| $ref: '../../../core/commons.yaml#/components/schemas/link' | ||
| example: | ||
| - rel: next | ||
| href: >- | ||
| http://api.cool-sat.com/search?next=ANsXtp9mrqN0yrKWhf-y2PUpHRLQb1GT-mtxNcXou8TwkXhi1Jbk | ||
| partialItem: | ||
| type: object | ||
| properties: | ||
|
|
@@ -219,11 +278,6 @@ components: | |
| $ref: '../../../core/commons.yaml#/components/schemas/link' | ||
| assets: | ||
| $ref: '../../../core/commons.yaml#/components/schemas/assets' | ||
| example: | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this missed being deleted when this block was copied from the Item schema |
||
| assets: | ||
| analytic: | ||
| title: 1-Band Analytic | ||
| href: http://cool-sat.com/catalog/collections/cs/items/CS3-201605XX_132130_04/analytic-1.tif | ||
| partialItemProperties: | ||
| type: object | ||
| description: allows for partial collections of metadata fields | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.