xdev-software / sched-java-client Goto Github PK
View Code? Open in Web Editor NEWJava client for the Sched API
License: Apache License 2.0
Java client for the Sched API
License: Apache License 2.0
The following fields are missing in the dto, but are specified in the API docs:
"id", "username", "name", "phone", "email", "url", "about", "role", "joined", "lastactive", "avatar", "company", "position", "location";
See also the "available fields" in the API-doc: https://sched.com/api#user-list
I found out that the session/add & session/mod endpoint has a new parameter, that is not in the docs.
To modify the Livestream-URL, a link can be sent via parameter video_stream
.
this should be added accordingly
When the Sched-API throws an error, it returns 200:OK with a String message containing the detailed error "e.g. ERR: wrong email".
The Sched-Client cannot handle this and returns the following error:
class java.lang.String cannot be cast to class software.xdev.sched.model.UserAdded (java.lang.String is in module java.base of loader 'bootstrap'; software.xdev.sched.model.UserAdded is in unnamed module of loader com.amazonaws.services.lambda.runtime.api.client.CustomerClassLoader @1ddc4ec2): java.lang.ClassCastException
java.lang.ClassCastException: class java.lang.String cannot be cast to class software.xdev.sched.model.UserAdded (java.lang.String is in module java.base of loader 'bootstrap'; software.xdev.sched.model.UserAdded is in unnamed module of loader com.amazonaws.services.lambda.runtime.api.client.CustomerClassLoader @1ddc4ec2)
at software.xdev.sched.api.UserApi.addUser(UserApi.java:158)
at software.xdev.sched.api.UserApi.addUser(UserApi.java:81)
...
This should be handled differently, so that i can find out the error from Sched, without having to work around a class-cast exception.
NOTE: When the Sched API returns an error, if it return 200, the String-Message in the body always starts with "ERR:"
It would be nice to add the user/mod endpoint to the client.
The configuration is identical to the user/add endpoint with the only difference being that the parameters are overriding already existing ones
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.