Skip to content
Open
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@ In these cases, a valid token must be present in the header in the form of `Bear

To get a token to test the APIs with, the CLI can be used: `lo auth -c`. The `-c` parameter copies the token to the clipboard.

The api url is: `https://api.us.lifeomic.com`
The API URL is: `https://api.us.lifeomic.com`

## GraphQL API

The URL for the GraphQL endpoint is located at `{baseUrl}/v1/graphql`

The schema can be downloaded using the [Apollo CLI](https://github.com/apollographql/apollo-cli), provided an authorization header is supplied.

(Optional) For types, we utilize Apollog Codegen: Once the Apollo CLI is installed (either globally or localling in the project), `apollo codegen:generate --clientSchema={path/to/schema}`.
(Optional) For types, we utilize Apollo Codegen: Once the Apollo CLI is installed (either globally or localling in the project), `apollo codegen:generate --clientSchema={path/to/schema}`.

## Bitesize Examples

The `bitesize` directory contains standalone examples of various means of using the GraphQL api.
The `bitesize` directory contains standalone examples of various means of using the GraphQL API.

**observations.ts**

Included is a sample for handlig `Observation`s, a type that encompases various readings for a patient, such as body wieght or height.
Included is a sample for handling `Observation`s, a type that encompasses various readings for a patient, such as body weight or height.

## lifeomic-sample-graphql-client-app

Expand Down