Hi there,
I noticed that the Confluence V2 API returns enum values in UPPER_CASE instead of lower_case like specified in the documentation. For example, this is the documentation for the status
field in the response of the V2 Get Page By ID endpoint:
status
string
The status of the content.
Valid values:current
,trashed
,historical
,deleted
,any
,draft
,archived
However, the API response looks like this:
{
...
"status": "CURRENT",
...
}
Same with the body formats such as storage
/ STORAGE
and atlas_doc_format
/ ATLAS_DOC_FORMAT
.
This is of course not a huge deal, but it is something everyone who writes validations using the values from the documentation will run into. Would be great if the V2 APIs returned the values in the same case as documented.
Cheers,
Sven