Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 14 additions & 0 deletions docs/source/oclapi/apireference/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,20 @@ Status: 200 OK



## List parents or children of a concept
* List the concepts that are the parents, or the children, of a concept in its source's hierarchy, where an optional `:sourceVersion` is a source version ID
```
GET /orgs/:org/sources/:source/[:sourceVersion/]concepts/:concept/parents/
GET /orgs/:org/sources/:source/[:sourceVersion/]concepts/:concept/children/
GET /users/:user/sources/:source/[:sourceVersion/]concepts/:concept/parents/
GET /users/:user/sources/:source/[:sourceVersion/]concepts/:concept/children/
GET /user/sources/:source/[:sourceVersion/]concepts/:concept/parents/
GET /user/sources/:source/[:sourceVersion/]concepts/:concept/children/
```
* Notes
* Only concepts the requester can view are listed: a parent or child in another source is listed only if the requester can view that source.
* These lists aren't searchable: `q` and other search parameters are ignored. To search a source's concepts, use [List concepts in a source](#list-concepts-in-a-source).

## Get a single concept name
* Get a single concept name
```
Expand Down
2 changes: 1 addition & 1 deletion docs/source/oclapi/apireference/orgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ GET /user/orgs/
POST /orgs/
```
* Input
* **id** (required) string
* **id** (required) string - unique regardless of letter case: an id that differs from an existing organization's only in case (e.g. `my-org` when `My-Org` exists) returns `400 Bad Request`
* **name** (required) string
* **company** (optional) string
* **website** (optional) string
Expand Down