Skip to content
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

Update documentation for version v3 of REST API #3106

Merged
merged 1 commit into from Jul 4, 2019

Conversation

elsapassaro
Copy link
Contributor

@elsapassaro elsapassaro commented Jul 1, 2019

Fix #3048 #2964.

Changed v2 to v3 in the base url, and updated documentation and examples to reflect the changes in the ORM.
Added full base url (including /api/v* suffix) to the message printed by verdi restapi command, so the user can click on the link and directly access the API.
As soon as the functionality of passing the REST endpoint as a variable in the URL of Materials Cloud Explore is implemented in production, this should print also the proper link to https://www.materialscloud.org/explore/connect, so it can directly connect to the explore interface of a database.

Fixed help text in rest api schema for Groups.

@elsapassaro elsapassaro requested a review from waychal July 1, 2019 15:51
@sphuber
Copy link
Contributor

sphuber commented Jul 2, 2019

Isn't this supposed to rather fix issue #2964 ? Issues #3048 (and the duplicate it seems #2384 ) are the generic ones to make sure the REST API documentation is fully up to date. Is that the case with this PR? I remember @waychal saying that the only two end-points remaining would be node and process. However, I see many more, among which calculation which seems a remnant from 0.12.

@coveralls
Copy link

coveralls commented Jul 2, 2019

Coverage Status

Coverage increased (+0.01%) to 74.344% when pulling 8356b42 on asle85:fix_3048_restapi_docs into 6b231e3 on aiidateam:develop.

waychal
waychal previously approved these changes Jul 3, 2019
Changed v2 to v3 in the base url, and updated documentation and examples
to reflect the changes in the ORM.
Added full base url (including /api/v* suffix) to the message printed by
``verdi restapi`` command, so the user can click on the link and directly
access the API.

Fixed help text in rest api schema for groups.
@waychal waychal merged commit 19ed82e into aiidateam:develop Jul 4, 2019
d-tomerini pushed a commit to d-tomerini/aiida_core that referenced this pull request Jul 24, 2019
…ger; typos in AUTHORS

Minor correction to make sure the documentation regarding REST API and result manager
are up to date with the latest version of AiiDA 1.0.

Dealing with issues aiidateam#3048 and aiidateam#3027

Checked that the files are where the user is told they are, and commands work (python 3 corrections too).

Mainly corrected typos, unified  and broken links.

I checked that the examples in the REST API section work, but I did not try to
set ap an APACHE server -- I assume that has been tested by someone else elesewhere (aiidateam#3106 ? )

Corrected a couple imprecision in the AUTHOR list file (double entry and an incorrect name)
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.

None yet

4 participants