Skip to content

Add API doc for supported series#429

Open
wallyworld wants to merge 3 commits intojuju:v5-unstablefrom
wallyworld:supported-series-doc
Open

Add API doc for supported series#429
wallyworld wants to merge 3 commits intojuju:v5-unstablefrom
wallyworld:supported-series-doc

Conversation

@wallyworld
Copy link
Member

We introduce a new supported-series endpoint.

@jujugui
Copy link
Contributor

jujugui commented Sep 15, 2015

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://ci.jujugui.org:8080//job/charmstore/1139/
Test PASSed.

docs/API.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/entity/charm/ ?

I think I'd call this endpoint charm-supported-series, as it's charm-specific,
and like other charm-specific endpoints, it'll return a metadata-not-found error when invoked on bundles.

Also, we should be clear about the behaviour when the charm metadata does not support multiple series.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've renamed to charm-supported-series and added an extra example to show how an empty list is returned if no supported series are declared in the metadata.

@jujugui
Copy link
Contributor

jujugui commented Sep 18, 2015

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://ci.jujugui.org:8080//job/charmstore/1145/
Test PASSed.

@jujugui
Copy link
Contributor

jujugui commented Sep 28, 2015

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://ci.jujugui.org:8080//job/charmstore/1154/
Test PASSed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants