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

[version-4-0] docs: Update authorization-token.md (#2896) #2900

Merged
merged 1 commit into from
May 22, 2024
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To contribute, we recommend having the following software installed locally on y

- git configured and access to github repository

- Node.js and npm (optional)
- Node.js v20 and npm.

- [Vale](https://vale.sh/docs/vale-cli/installation/)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ TOKEN=abcd1234
```

```bash
curl --location --request GET 'https://api.spectrocloud.com/v1/projects/alert' \
--header 'Authorization: $TOKEN' \
--header 'Content-Type: application/json'
curl --location --request GET 'https://api.spectrocloud.com/v1/projects/alerts' \
--header "Authorization: $TOKEN" \
--header "Content-Type: application/json"
```

To refresh the authorization token, use the `v1/auth/refresh` endpoint with a GET request.
Expand Down