Service
Health and this document.
Health check
GET/health
Answers as long as the process serves requests. It does not touch the store.
Auth None. This route is public.
Returns
200 OK. The server is up. An object.
sh
curl https://sign.codevibe.in/api/healthts
const response = await fetch('https://sign.codevibe.in/api/health');
console.log(response.status, await response.json());python
import requests
response = requests.get(
"https://sign.codevibe.in/api/health",
timeout=30,
)
response.raise_for_status()
print(response.json())go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://sign.codevibe.in/api/health", nil)
if err != nil {
panic(err)
}
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
fmt.Println(res.Status, string(out))
}json
{
"ok": true
}This document
GET/v1/openapi.json
The OpenAPI 3.1 description of this server's API. Public and cacheable: send the ETag back as If-None-Match to get 304 Not Modified while it is unchanged.
Auth None. This route is public.
Headers
If-None-Match string
The ETag of a copy you already have.
Returns
200 OK. The OpenAPI document. An object.
ETag: Changes whenever the document changes.
304 Not Modified. Unchanged since the ETag in If-None-Match.
sh
curl https://sign.codevibe.in/api/v1/openapi.jsonts
const response = await fetch('https://sign.codevibe.in/api/v1/openapi.json');
console.log(response.status, await response.json());python
import requests
response = requests.get(
"https://sign.codevibe.in/api/v1/openapi.json",
timeout=30,
)
response.raise_for_status()
print(response.json())go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://sign.codevibe.in/api/v1/openapi.json", nil)
if err != nil {
panic(err)
}
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, err := io.ReadAll(res.Body)
if err != nil {
panic(err)
}
fmt.Println(res.Status, string(out))
}json
{
"openapi": "string",
"info": {},
"paths": {}
}