Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: added extra fields to query #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

petski
Copy link

@petski petski commented Jun 28, 2020

Added extra fields to query:

  • Attachments.FriendlyContentLength
  • Transaction.Content
  • Attachments.*

This commit more or less creates feature parity for /REST/1.0/ticket/:id/history?format=l, with this URL:
/REST/2.0/ticket/:id/history?fields=id,Type,Creator,Created,CustomFields,Content,Attachments&fields[CustomFields]=Name,Values&fields[Attachments]=ContentType,Filename,FriendlyContentLength

This PR is actually a copy of catalyst-cloud#1

Added extra fields to query:
- Attachments.FriendlyContentLength
- Transaction.Content
- Attachments.*

This commit more or less creates feature parity for /REST/1.0/ticket/:id/history?format=l, with this URL:
/REST/2.0/ticket/:id/history?fields=id,Type,Creator,Created,CustomFields,Content,Attachments&fields[CustomFields]=Name,Values&fields[Attachments]=ContentType,Filename,FriendlyContentLength
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant