Improvements for doc/api/packages.md
There are some improvements we can do for doc/api/packages.md
:
- mention the
pipeline
attribute, which returns the most recent pipeline for the package. Add that, if there aren't any pipelines associated with the package, thepipeline
attribute is not included in the response. - Include the
pipeline
attribute in list of attributes and in the example JSON response for:
This can be useful for developers using the API. After a call to the List project packages endpoint
, the developer can first check if the pipeline
attribute is present before calling the Get package pipelines endpoint
. This will save at least one API call and improve the runtime of pipelines.