Skip to content

Commit

Permalink
Add facts/id swagger doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevan Holdaway committed Feb 9, 2018
1 parent 451b5d8 commit d930276
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,29 @@ paths:
$ref: "#/definitions/FactCollectionOut"
400:
description: "Invalid input"
/facts/{fact_collection_id}:
get:
tags:
- "Fact"
summary: "Get an fact collection"
description: "Get raw facts in fact collection."
operationId: "getFacts"
produces:
- "application/json"
parameters:
- name: "fact_collection_id"
in: "path"
description: "ID of fact collection."
required: true
type: "integer"
format: "int64"
responses:
200:
description: "Fact collection retrieved"
schema:
$ref: "#/definitions/FactCollectionSource"
404:
description: "Fact collection not found"
/credentials/:
post:
tags:
Expand Down

0 comments on commit d930276

Please sign in to comment.