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

feat: change demo api url to api.realworld.io #791

Merged
merged 1 commit into from
Nov 5, 2021
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
2 changes: 1 addition & 1 deletion api/run-api-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -x

SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"

APIURL=${APIURL:-https://conduit.productionready.io/api}
APIURL=${APIURL:-https://api.realworld.io/api}
USERNAME=${USERNAME:-u`date +%s`}
EMAIL=${EMAIL:[email protected]}
PASSWORD=${PASSWORD:-password}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Make sure the right content type like `Content-Type: application/json; charset=u
"profile": {
"username": "jake",
"bio": "I work at statefarm",
"image": "https://static.productionready.io/images/smiley-cyrus.jpg",
"image": "https://api.realworld.io/images/smiley-cyrus.jpg",
"following": false
}
}
Expand Down
8 changes: 4 additions & 4 deletions documentation/docs/specs/frontend-specs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The **limited** branch will be more suitable if you plan to host your implementa
## Demo API

This project provides you with a public hosted API to test your frontend implementations.
Point your API requests to `https://conduit.productionready.io/api` and you're good to go!
Point your API requests to `https://api.realworld.io/api` and you're good to go!


### API Usage
Expand All @@ -51,16 +51,16 @@ Non-demo Articles, Tags, and Comments are deleted on a daily basis to avoid addi

### Swagger documentation

The API exposes a **Swagger** documentation on `https://conduit.productionready.io/api-docs`.
The API exposes a **Swagger** documentation on `https://api.realworld.io/api-docs`.

Most of the requests require a valid token.

#### Retrieve a token

You can retrieve a token by logging in or by registering.

Log in : https://conduit.productionready.io/api-docs/#/User%20and%20Authentication/Login
Register: https://conduit.productionready.io/api-docs/#/User%20and%20Authentication/CreateUser
Log in : https://api.realworld.io/api-docs/#/User%20and%20Authentication/Login
Register: https://api.realworld.io/api-docs/#/User%20and%20Authentication/CreateUser

* Click the `Try it out` button
* populate the body input with the related credentials
Expand Down
7 changes: 2 additions & 5 deletions documentation/docs/specs/mobile-specs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ sidebar_position: 1

### Using the hosted API

> To fix performance issues and the presence of NSFW content on the current API, we encourage you to use the new temporary API : https://realworld-temp-api.herokuapp.com/api`
> Please keep in mind we'll soon move back to `https://conduit.productionready.io/api`

API URL : https://realworld-temp-api.herokuapp.com/api
SWAGGER : https://realworld-temp-api.herokuapp.com/api-docs
API URL : https://api.realworld.io/api
SWAGGER : https://api.realworld.io/api-docs


### Styles/Templates
Expand Down