The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Atlassian REST API payload validation feature availability

Amar Khot
Contributor
April 28, 2023

Hi all,

Have you come across any material that explains whether the Atlassian Cloud REST API's POST method payload is validated before executing the actual modification?

I have found multiple tickets related to this, but no concrete material states whether this process is actively monitored or implemented on the cloud.

My requirement is only for Atlassian Cloud products such as Jira and Confluence and is not related to Forge content.

 

Any leads would be appreciated. Thank you.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Deleted user
April 28, 2023

Hello @Amar Khot 

It depends on what you mean by 'validated' and what you mean by 'payload'.

If you send an invalid (incorrectly structured) request, the REST API server will reject it and you'll get the appropriate error message.

If you send a valid (correctly structured) request, the REST API server will pass it to the platform. If the BODY of the request (which is what I assume you mean by 'payload') is invalid (incorrect format / content), the platform will reject it wholly or partially, pass that as message to the REST API server, which in turn passes that to you and you'll get the appropriate error message.

If you send a valid request with a valid BODY, then whatever change you specified will be applied. There is no other validation beyond that.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events