From 892e33fd93225b0913e7403d9328ed30e331e7b6 Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Wed, 3 Nov 2021 19:22:55 -0600 Subject: [PATCH] Add `embed_url` to the api docs (#14813) When creating a topic via the api you can pass in the `embed_url` param, so adding this to the api docs. See: https://github.com/discourse/discourse_api_docs/pull/26 --- spec/requests/api/schemas/json/topic_create_request.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/requests/api/schemas/json/topic_create_request.json b/spec/requests/api/schemas/json/topic_create_request.json index c9a822e458..70b1a4489e 100644 --- a/spec/requests/api/schemas/json/topic_create_request.json +++ b/spec/requests/api/schemas/json/topic_create_request.json @@ -33,10 +33,13 @@ }, "created_at": { "type": "string" + }, + "embed_url": { + "type": "string", + "description": "Provide a URL from a remote system to associate a forum topic with that URL, typically for using Discourse as a comments system for an external blog." } }, "required": [ "raw" ] } -