Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

API documentation for metrics incorrect?

Andrew Elwell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2022

Hi, I've just been updating some python requests scripts to publish metrics and note that the API endpoint is returning an undocumented return code (202)

While I understand the logic of this (the data doesn't show up on the plots at once), it's not mentioned anywhere in https://developer.statuspage.io/#operation/postPagesPageIdMetricsData

Can the documentation be updated please?

1 answer

1 accepted

0 votes
Answer accepted
John M
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 8, 2022

Hi Andrew,

Thanks for bringing this to our attention - I didn't find a 202 in our documentation either. I will submit a request to have the documentation updated so that we mention the 202 code means the data is being processed but has not completed. 

TheSkout001 March 29, 2023

Hi John,

I recently got a problem with metrics, got response status code 400, which is not listed in Add data to a metric 

Can the docs be updated pls??

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events