Skip to content

Commit

Permalink
Update API section
Browse files Browse the repository at this point in the history
  • Loading branch information
DogmaDragon authored Nov 23, 2024
1 parent 0cd8529 commit 0054a8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ There is a GraphQL API which allows to do things automatically. GraphQL is also

Stash has integrated playground where you run interact with the API and view the documentation.

1. Go to `http(s)://IP:PORT/playground` (default is `http://localhost:9999/playground`).
1. Go to `<server>:<port>/playground` (default is `http://localhost:9999/playground`).
1. Expand **Docs** on the right to open Documentation Explorer.

All HTTP requests have to go to `http(s)://IP:PORT/graphql` (default is `http://localhost:9999/graphql`).
All HTTP requests have to go to `<server>:<port>/graphql` (default is `http://localhost:9999/graphql`).

## Authentication

Expand Down Expand Up @@ -168,4 +168,4 @@ If `download:` is `true` the created backup is returned and not stored locally.

```shell
curl -X POST -H "Content-Type: application/json" --data '{ "query": "{ systemStatus { appSchema status } }" }' localhost:9999/graphql
```
```

0 comments on commit 0054a8d

Please sign in to comment.