Add `embed_url` to the api docs ()

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
This commit is contained in:
Blake Erickson 2021-11-03 19:22:55 -06:00 committed by GitHub
parent d9f02b635d
commit 892e33fd93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
spec/requests/api/schemas/json

View File

@ -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"
]
}