Forums

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

REST Api Plugin - Rest API Browser documentation

Jan Kubalek May 21, 2018

I have plugin with REST API. Everything works fine except documentation.

I cannot se API documentation in the REST API Browser...

Class declaration:

/**
* Branch workflow build status API for register new repositories
*/
@Path("/buildstatus")
@PublicApi
public class my class { ... }

APi call:

 /**
* Returns all registered build plans
*
* @return List of
*/
@GET
@Path("/plan")
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_JSON})
public Response getPlan() { ... } 

 

Where is the problem? I am really out now :). 

 

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
October 23, 2018

Hi!

 

Sorry, it is so hard to understand your problem. I also used the REST Api browser and REST API documentation https://docs.atlassian.com/atlassian-bamboo/REST/6.6.0/

Hence looks like wrapping working well, you can check here

https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bamboo.py

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events