Skip to content

Commit

Permalink
📝 point documentation at the kidsfirstdrc.org prod domain, not kids-f…
Browse files Browse the repository at this point in the history
…irst.io

📝 point dataservice documentation at prod

don't point docs at qa
  • Loading branch information
chris-s-friedman committed Jun 21, 2023
1 parent 73755b5 commit 0da9ef6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dataservice/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ Curl is the quickest way to communicate with the api from a unix shell

Get the system status:
```bash
curl -H "Content-Type: application/json" http://kf-api-dataservice-qa.kids-first.io/status
curl -H "Content-Type: application/json" https://kf-api-dataservice.kidsfirstdrc.org/status
```

Create a new study with the name 'my study':
```bash
curl -XPOST -H "Content-Type: application/json" http://kf-api-dataservice-qa.kids-first.io/studies -d '{ "name": "my study" }'
curl -XPOST -H "Content-Type: application/json" https://kf-api-dataservice.kidsfirstdrc.org/studies -d '{ "name": "my study" }'
```

## Python
Expand All @@ -35,7 +35,7 @@ To get the system status:
```python
import requests

resp = requests.get('http://kf-api-dataservice-qa.kids-first.io/status',
resp = requests.get('https://kf-api-dataservice.kidsfirstdrc.org/status',
headers={'Content-Type': 'application/json'})

print(resp.json())
Expand All @@ -49,7 +49,7 @@ body = {
"name": "my name"
}

resp = requests.post('http://kf-api-dataservice-qa.kids-first.io/studies',
resp = requests.post('https://kf-api-dataservice.kidsfirstdrc.org/studies',
headers={'Content-Type': 'application/json'},
json=body)

Expand Down

0 comments on commit 0da9ef6

Please sign in to comment.