discussions

Create a new Discussion

Changed on
post/discussions/

Request

  • Base URL
    https://dados.gov.pt/api/1
  • URL
    https://dados.gov.pt/api/1/discussions/
  • Auth
    none declared

Headers

X-Fieldsstring mask

An optional fields mask

Request body

commentstring required

The content of the initial comment

extrasobject

Extras attributes as key-value pairs

titlestring required

The title of the discussion to open

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

self_web_urlstring

The discussion web URL

titlestring

The discussion title

urlstring

The discussion API URI

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status