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 :).
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.