Skip to content

Commit

Permalink
Merge pull request #1 from cds-hooks/breaking-1.0-changes
Browse files Browse the repository at this point in the history
Update API to account for breaking 1.0 changes
  • Loading branch information
kpshek authored Aug 4, 2017
2 parents 405c6f0 + 3a85650 commit c334cf2
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions cds-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ definitions:
description: short id for this service, unique with the CDS Provider (will be used in URL paths)
hook:
$ref: '#/definitions/Hook'
name:
title:
type: string
description: Human-readable name for the CDS Service (e.g. "CMS Drug Pricing Service")
description:
Expand Down Expand Up @@ -143,7 +143,6 @@ definitions:
indicator:
type: string
enum:
- success
- info
- warning
- hard-stop
Expand Down Expand Up @@ -191,14 +190,27 @@ definitions:
properties:
label:
type: string
create:
type: array
items:
type: object
delete:
uuid:
type: string
format: uuid
actions:
type: array
items:
type: object
$ref: '#/definitions/Action'

Action:
type: object
properties:
type:
type: string
enum:
- create
- update
- delete
description:
type: string
resource:
type: object

Prefetch:
type: object
Expand Down

0 comments on commit c334cf2

Please sign in to comment.