Skip to content

Add wrappers for new Admin API Endpoints #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 41 commits into from
Mar 6, 2017
Merged

Add wrappers for new Admin API Endpoints #31

merged 41 commits into from
Mar 6, 2017

Conversation

cmlccie
Copy link
Collaborator

@cmlccie cmlccie commented Mar 6, 2017

#20 Added wrappers for new Admin API Endpoints

Squashed some Bugs:
#30 team_memberships.update() was using the wrong HTTP verb

memberships.update() was also using the wrong HTTP verb

Correct formatting issues and simplify text.
Add examples and documentation sections and misc edits.
Delete old README.md and point setup.py to new README.rst
Create new ‘docs’ directory.  Run sphinx-quickstart in ‘docs’
Begin organizing .gitignore to identify used and unused entries.
Create initial index.rst and the the User-API documentation.
Rename and refactor helper.py to utils.py to make naming more
consistent with established practices.
The session attribute in an API object should not be ‘public’, and
therefore should be prefixed by an ‘_’.

Update API classes’ method docstrings to eliminate warnings and enable
proper auto-documentation by Sphinx autodoc extension.
The ‘pep440-post’ style better reflects post-release commits, and
enables building of installable dev-builds with sortable version
numbers.

Additionally, going forward, the package release tags will incorporate
a release status flag (a - alpha, b - beta, rc - release candidate) in
the format:  major.minor[flag]micro
Update docstrings and User API Doc for the main package __init__.py
module.
This copyright reference shows up in the footers of the HTML docs
generated by Sphinx.
The Quickstart guide / tutorial is now finished!!!
Report and needed corrections provided by @DJF3

-Thank you!
# Conflicts:
#	README.rst
#	docs/conf.py
#	docs/user/intro.rst
# Conflicts:
#	README.rst
Add a ACCESS_TOKEN_ENVIRONEMENT_VARIABLE package-level constant that
specifies the name of the environment variable that is referenced by
the package to retrieve a user’s Spark access token from the
environment.
Create the pytest tests-package structure, initial Rooms tests and
supporting fixtures.
Complete the test suite for the RoomsAPI class.
The RoomsAPI.update() method should be sending a PUT request (not a
POST).
Verb should be PUT instead of POST
Add people.create() and people.update() methods to wrap the new people
admin API endpoints.

Update the Person properties to reflect new person object attributes.
Add property docstrings and have properties return `None` if not
present.
Add a wrapper for the new Organizations API endpoints.
Add a wrapper for the new Licenses API endpoints.
Add a wrapper for the new Roles API endpoints.
Add the new Organizations, Licenses and Roles API wrappers to the
CiscoSparkAPI class.
Verb should be PUT instead of POST
@cmlccie cmlccie merged commit 6b43188 into master Mar 6, 2017
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.

1 participant