The platform announcement and maintenance state
curl --request GET \
--url https://app.trustivan.com/api/v1/platform/noticeimport requests
url = "https://app.trustivan.com/api/v1/platform/notice"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.trustivan.com/api/v1/platform/notice', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/platform/notice"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"announcement": "<string>",
"announcement_tone": "info",
"maintenance": true,
"maintenance_message": "<string>",
"password_reset_enabled": true
}The platform announcement and maintenance state
Public, signed in or not: it is what a banner shows. Set from the support console. Cached for 30 seconds.
GET
/
platform
/
notice
The platform announcement and maintenance state
curl --request GET \
--url https://app.trustivan.com/api/v1/platform/noticeimport requests
url = "https://app.trustivan.com/api/v1/platform/notice"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.trustivan.com/api/v1/platform/notice', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/platform/notice"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"announcement": "<string>",
"announcement_tone": "info",
"maintenance": true,
"maintenance_message": "<string>",
"password_reset_enabled": true
}Response
200 - application/json
The notice.