Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
5. Examples
Example 1. List Cases
Example 2. Filter by last update date
Example 3. List Case Comments
0000000
with the number of a case to which you have access.
curl -H ‘Authorization: Bearer $token’ https://api.access.redhat.com/support/v1/cases/0000000/comments
$ curl -H ‘Authorization: Bearer $token’ https://api.access.redhat.com/support/v1/cases/0000000/comments
Example 4. Create a Case
RHEL 6
product using the default group, severity level, and type.
Example 5. Update a Case
Example 6. Escalate a Case for Management Attention
Example 7. Add a New Case Comment
Example 8. Add a File Attachment to a Case
test.txt
to case 0000000. API supports file upload till 1GB.
curl -X POST -F 'file=@test.txt' -H ‘Authorization: Bearer $token’ https://api.access.redhat.com/support/v1/cases/0000000/attachments
$ curl -X POST -F 'file=@test.txt' -H ‘Authorization: Bearer $token’ https://api.access.redhat.com/support/v1/cases/0000000/attachments