Comments (4)
Hm. There should have not be a change. Would you mind pointing me to the part of the documentation that is wrong/doesn't work anymore?
from zammad-documentation.
Gladly: https://docs.zammad.org/en/latest/api/intro.html#http-token-authentication-access-token
from zammad-documentation.
Works just fine for me (latest develop
):
➜ zammad git:(develop) curl -H "Authorization: Token token=-FzqCXkmepBxGU3Lcumj9yWJybhCbY2MmJWIUt7_Kupx4Ehs8nmwQOyPAXcujluz" -H "Content-Type: application/json" -X POST -d '{"title":"Help me!","group": "Users","article":{"subject":"some subject","body":"some message","type":"note","internal":false},"customer_id": 3}' http://localhost:3000/api/v1/tickets
{"id":2,"group_id":1,"priority_id":2,"state_id":1,"organization_id":null,"number":"96002","title":"Help me!","owner_id":1,"customer_id":3,"note":null,"first_response_at":null,"first_response_escalation_at":null,"first_response_in_min":null,"first_response_diff_in_min":null,"close_at":null,"close_escalation_at":null,"close_in_min":null,"close_diff_in_min":null,"update_escalation_at":null,"update_in_min":null,"update_diff_in_min":null,"last_contact_at":null,"last_contact_agent_at":null,"last_contact_customer_at":null,"last_owner_update_at":null,"create_article_type_id":10,"create_article_sender_id":1,"article_count":1,"escalation_at":null,"pending_time":null,"type":null,"time_unit":null,"preferences":{},"updated_by_id":3,"created_by_id":3,"created_at":"2020-09-09T11:34:58.560Z","updated_at":"2020-09-09T11:34:58.842Z","article_ids":[2],"ticket_time_accounting_ids":[]}
➜ zammad git:(develop) curl -X GET -H "Authorization: Token token=-FzqCXkmepBxGU3Lcumj9yWJybhCbY2MmJWIUt7_Kupx4Ehs8nmwQOyPAXcujluz" http://localhost:3000/api/v1/tickets/2
{"id":2,"group_id":1,"priority_id":2,"state_id":1,"organization_id":null,"number":"96002","title":"Help me!","owner_id":1,"customer_id":3,"note":null,"first_response_at":null,"first_response_escalation_at":null,"first_response_in_min":null,"first_response_diff_in_min":null,"close_at":null,"close_escalation_at":null,"close_in_min":null,"close_diff_in_min":null,"update_escalation_at":null,"update_in_min":null,"update_diff_in_min":null,"last_contact_at":null,"last_contact_agent_at":null,"last_contact_customer_at":null,"last_owner_update_at":null,"create_article_type_id":10,"create_article_sender_id":1,"article_count":1,"escalation_at":null,"pending_time":null,"type":null,"time_unit":null,"preferences":{},"updated_by_id":3,"created_by_id":3,"created_at":"2020-09-09T11:34:58.560Z","updated_at":"2020-09-09T11:34:58.842Z"}
However, I noticed that at least one example payload is broken (create Ticket) and results in an error. Should I create an issue for that?
from zammad-documentation.
That's odd, might have changed during the "on behalf" issues indirectly.
No need to create an issue, I'll handle it. 💪
from zammad-documentation.
Related Issues (20)
- Remove priority handling via rails console
- Raise minimum supporte Safari version to 14 / 14.1
- Ruby version updated
- Node version update (18.0+ => 18.10+)
- Cleanup of info/hint/warning containers
- Remove MacOS installation instructions HOT 2
- Set required ruby version to 3.2.3 for Zammad 6.3
- Rework Backup & Restore section (Appendix)
- Rework "Troubleshooting & FAQ" (appendix)
- Check if reporting with futher tools can be documented
- Add note for IPv6 only setups and packager.io
- Add "hint" on how to change ticket group via API when working with sub-groups
- Change ruby version in 'Install from source' section or replace it by placeholder
- API - Add the import endpoint for Organization and User. HOT 1
- Add link to translation chapter as an alternative to the Rails command HOT 8
- Document handling of failed mails
- Admin - Overviews: Column LINK missing in documentation HOT 1
- Follow-up: reprocessing of failed emails
- Edit storage provider settings
- Remove Kubernetes content and link to the Github manual
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 zammad-documentation.