Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
ChilloutVR API in rust
WIP predicted rust models of ChilloutVR's upcoming API.
This is fully unofficial and in no way affiliated, endorsed, supported, or created by Alpha Blend Interactive, the creators of ChilloutVR.
Note that there is no official API documentation yet and usage of the API is frowned upon as of writing. If it wasn't clear enough: purpose of this crate isn't to connect to the API currently. The purpose is to be able to model clients to use the models before the API goes live. Though note that the models will most likely change in breaking ways.
Once the API is stabilized a bit more and it's usage allowed, an API client is planned to be implemented.
Testing
The integration tests contact the live API. That's why they are ignored by default.
Some of them also require authentication.
Sadly not all the things can even be reliably tested without creating a mock API. Which in turn defeats the purpose of the tests in the first place.
Creating a user session manually
You can generate a user-sesion.json file with logging in via curl for example:
curl --request POST \
--url https://api.abinteractive.net/1/users/auth \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"username": "email@Address",
"password": "pa$$word",
"authType": "LoginCredentials"
}' > user-session.json
Running ignored tests
Make sure that you've got:
- an internet connection
- a valid
user-sesion.json
Then just run the tests;
# A specific test with output logging
# All tests
License
Note that the license is MPL-2.0 instead of the more common MIT OR Apache-2.0.
A license change however can be negotiated if the ABI team wants to use this crate or adopt this crate into a more official one with a different license.