Document basic-info api endpoint

The documentation (and openapi.json) is missing /site/basic-info.json.

Trying with https://meta.discourse.org/site/basic-info.json gives the following response:

{
	"logo_url": "https://d11a6trkgmumsb.cloudfront.net/original/3X/a/d/ad2526334012b2ad0c3421f9b6dd94bae2ede52f.svg",
	"logo_small_url": "https://d11a6trkgmumsb.cloudfront.net/original/3X/9/a/9af9456df3a40537038643d987ffcbd553ad3296.svg",
	"apple_touch_icon_url": "https://d11a6trkgmumsb.cloudfront.net/optimized/4X/4/0/1/401423f1ccfa41fdbdafcc45f7107e29cd9f1125_2_180x180.jpeg",
	"favicon_url": "https://d11a6trkgmumsb.cloudfront.net/optimized/3X/b/3/b33be9538df3547fcf9d1a51a4637d77392ac6f9_2_32x32.png",
	"title": "Discourse Meta",
	"description": "Discussion about the next-generation open source Discourse forum software",
	"header_primary_color": "333333",
	"header_background_color": "ffffff",
	"login_required": false,
	"mobile_logo_url": "https://d11a6trkgmumsb.cloudfront.net/original/3X/a/d/ad2526334012b2ad0c3421f9b6dd94bae2ede52f.svg"
}
1 Like

I’m using the OpenAPI spec to generate a client so I was wondering when will the docs/specs be updated with the missing endpoints?

@blake I’m guessing you’re the one to tag?

1 Like

Oh cool! That was one reason we started using the OpenAPI spec for the docs.

I’ll add it this week.

1 Like

Okay, added: Discourse API Docs

2 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.