Comments (14)
@Shahin-rmz yeah, this should be possible. You can find GraphQL python clients here: https://graphql.org/code/#python-client
from server.
Hey @micmine, the structure is viewable here https://github.com/traggo/server/blob/master/schema.graphql I think most of the stuff is self explanatory.
from server.
Yeah, this is one way, another one would be via "Authorization: traggo TOKEN", traggo should probably be changed to bearer (:.
See https://github.com/traggo/server/blob/master/auth/middleware.go#L83
from server.
I'd say it is a good idea, if it solves one of your problems (:.
from server.
That would be grade. So that it can be used in the other Service.
from server.
Hey @micmine, the structure is viewable here https://github.com/traggo/server/blob/master/schema.graphql I think most of the stuff is self explanatory.
I'm not understanding how to build the mutation to login to the APIs, could you provide an example?
I eventually managed to get the token 🚀, can't say I completely understand how to use GraphQL 😅
mutation{
login(username: "admin", pass: "admin", deviceName: "postman", cookie: true, type: NoExpiry ){
token
}
}
from server.
Glad to hear this, so it all works fine now? You probably can inspect the browser requests when you do something inside the ui.
from server.
You probably can inspect the browser requests when you do something inside the ui.
Indeed.
One thing wasn't as I expected it. The login route returns a token, I expected it to be needed as an Authorization header" Bearer token" instead I made it work as a cookie value. Is this intended?
from server.
Hello,
Thanks for the app.
I really like how it respects the zen of minimalism.
I'm not very good at Graphql. Just wanted to make sure if I can do some personal customization for myself via python and Graph ql.
Thanks.
from server.
So I want to make a client for linux and android, which gets my tasks from nextcloud tasks
app and set the project
and task
tags inside traggo automatically. And I just press play
button on the client.
And after some minutes, send me a push notification to do.pomodoro style job.
Is it good idea or useless complication?
from server.
Sorry for not responding. I am using traggo again. I have tied to use your API spec, but it does not seem to be correctly formatted. When i try to use it in my program it fails to load the file.
error: Failed to generate GraphQLQuery impl: Query parser error: query parse error: Parse error at 1:1
Unexpected `enum[Name]`
Expected `{`, `query`, `mutation`, `subscription` or `fragment`
I am using this client: https://github.com/graphql-rust/graphql-client
from server.
Please paste the code you are trying to run.
from server.
https://github.com/micmine/traggo-jira
from server.
#[derive(GraphQLQuery)]
#[graphql(
schema_path = "src/apispecification/schema.graphql",
query_path = "src/apispecification/schema.graphql",
)]
You cannot use the schema as a query, you need to write a query yourself. F.ex a login query looks like this #49 (comment)
from server.
Related Issues (20)
- Time entry shift and calendar display issues in Iran timezone after daylight saving removal HOT 4
- going from list view to dashboards wont update the dashboards with the latest changes. HOT 1
- building Dockerfile.dev container from source is failing. HOT 7
- Traggo does not build HOT 2
- Timesheet / List UI is very janky HOT 1
- Feature request: Dashboard Pie Charts - Display percentage instead of hours
- Tag visibility based on start and end dates HOT 2
- CALDAV with traggo HOT 8
- Issues building Traggo v0.4.2 HOT 2
- Backspace deletes the new entry, instead of the typed character HOT 2
- Anyway to import a calander and tag those entries? HOT 3
- Tag Hierarchy allow for sub tags HOT 1
- Reminder to enter what I've been working on HOT 1
- Display aggregate time for a combo of tags HOT 4
- "Weekdays only" option in the calendar view (no Saturday/Sunday) HOT 1
- Error in duration HOT 9
- [Feature Request] Add description to tags
- Is this project actively developed on? HOT 1
- Edit color hex code HOT 1
- Consistent assets naming HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.