Name, tagline, accent and wording for the public pages (no sign-in)
GET
/api/v1/public/branding
const url = 'https://example.com/api/v1/public/branding';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/public/brandingWhat a visitor may see. Cached for five minutes; carries no personal data.
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
PublicBranding
What a visitor may see: no account needed, cached for five minutes.
object
accent_dark_hex
required
Accent Dark Hex
string
accent_hex
required
Accent Hex
string
community_paragraph
required
Community Paragraph
string
has_logo
required
Has Logo
boolean
name
required
Name
string
osm_signin_enabled
required
Osm Signin Enabled
boolean
tagline
required
Tagline
string
Example generated
{ "accent_dark_hex": "example", "accent_hex": "example", "community_paragraph": "example", "has_logo": true, "name": "example", "osm_signin_enabled": true, "tagline": "example"}Map data © OpenStreetMap contributors, under the Open Database Licence. Code under the Apache-2.0 licence. Made by Yogesh.
Changeset Second Opinion is an independent open source tool for OpenStreetMap reviewers. It is not endorsed by, sponsored by or affiliated with the OpenStreetMap Foundation. OpenStreetMap is a trademark of the OpenStreetMap Foundation, used under itstrademark policy.