discussions

Add comment and optionally close a discussion given its ID

post/discussions/{id}/

Request

  • Base URL
    https://data.public.lu/api/1
  • URL
    https://data.public.lu/api/1/discussions/{id}/
  • Auth
    none declared

Headers

X-Fieldsstring mask

An optional fields mask

Request body

closeboolean

Is this a closing response. Only subject owner can close

commentstring required

The comment to submit

Response

Success

classstring required

The object class

closedstring date-time

The discussion closing date

createdstring date-time

The discussion creation date

extrasobject

Extra attributes as key-value pairs

idstring

The discussion identifier

titlestring

The discussion title

urlstring

The discussion API URI

Example response

{
  "discussion": {
    "spam": {
      "status": "not_checked"
    }
  },
  "spam": {
    "status": "not_checked"
  }
}

Changes

No recorded changes to this operation across all 20 revisions of this API.