Skip to content
Snippets Groups Projects
Commit b7e4e3c9 authored by Jeroen Nijhof's avatar Jeroen Nijhof
Browse files

Add api usage instructions

parent ac86cd30
No related branches found
No related tags found
No related merge requests found
This is the Ruby on Rails application that powers [status.gitlab.com](https://status.gitlab.com/).
 
This software is MIT Expat licensed.
## API
You can use the default json api by calling: [https://status.gitlab.com/status/api](https://status.gitlab.com/status/api)
### JSON format
```
{
"latency":[{"time":1469104321,"state":0,"value":"0.093852s"},...],
"ssh response time":[{"time":1469104321,"state":0,"value":"0.211936s"},...],
"http project response time":[{"time":1469104321,"state":0,"value":"0.727958s"},...],
"http response time":[{"time":1469104321,"state":0,"value":"0.408527s"},...]
}
```
### JSON attributes
- **time:** epoch timestamp
- **state:** 0 OK, 1 NOT OK
- **value:** text
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment