Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 point documentation at the kidsfirstdrc.org domain, not kids-first.io #614

Merged
merged 1 commit into from
Jun 21, 2023
Merged
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 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