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://global.discourse-cdn.com/meta/original/3X/a/d/ad2526334012b2ad0c3421f9b6dd94bae2ede52f.svg",
	"logo_small_url": "https://global.discourse-cdn.com/meta/original/3X/9/a/9af9456df3a40537038643d987ffcbd553ad3296.svg",
	"apple_touch_icon_url": "https://global.discourse-cdn.com/meta/optimized/4X/4/0/1/401423f1ccfa41fdbdafcc45f7107e29cd9f1125_2_180x180.jpeg",
	"favicon_url": "https://global.discourse-cdn.com/meta/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://global.discourse-cdn.com/meta/original/3X/a/d/ad2526334012b2ad0c3421f9b6dd94bae2ede52f.svg"
}
1개의 좋아요

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개의 좋아요

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

I’ll add it this week.

1개의 좋아요

Okay, added: Discourse API Docs

2개의 좋아요

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