Skip to content

Commit

Permalink
Better: Add created_at filtering for Attachment API RD-22307 (#95)
Browse files Browse the repository at this point in the history
* Better: Add created_at filtering for Attachment API RD-22307

* Update specs/engage-digital_openapi3.yaml

Co-authored-by: Yoann Lecuyer <[email protected]>

* Update specs/engage-digital_openapi3.yaml

Co-authored-by: Yoann Lecuyer <[email protected]>

Co-authored-by: Cyril Le Roy <[email protected]>
Co-authored-by: Yoann Lecuyer <[email protected]>
  • Loading branch information
3 people authored Jul 28, 2022
1 parent 1bba703 commit 6e9a60a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
18 changes: 17 additions & 1 deletion specs/engage-digital_openapi3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,22 @@ paths:
required: false
schema:
type: string
- description: >-
Search parameter to get attachments created before a ISO 8601 datetime (inclusive)
in: query
name: created_before
required: false
schema:
type: date
- description: >-
Search parameter to get attachments created after a ISO 8601 datetime (inclusive)
in: query
name: created_after
required: false
schema:
type: date
responses:
'200':
content:
Expand Down Expand Up @@ -4976,7 +4992,7 @@ paths:
Authorization​: for that call to succeed several conditions are required:
- the task must be in an agent’s workbin.
- the task must be in an agent’s workbin.
- the access token user must either own the task or be able to monitor all tasks or be able to monitor his team’s tasks if the task is owned by one of his team member.
operationId: completeTask
parameters:
Expand Down
12 changes: 12 additions & 0 deletions specs/engage-digital_postman2.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,18 @@
"value": "\u003cstring\u003e",
"description": "Search parameter for file extension (e.g. pdf, xlsx, jpg...)",
"disabled": true
},
{
"key": "created_before",
"value": "\u003cdate\u003e",
"description": "Search parameter to get attachments created before a ISO 8601 date",
"disabled": true
},
{
"key": "created_after",
"value": "\u003cdate\u003e",
"description": "Search parameter to get attachments created after a ISO 8601 date",
"disabled": true
}
]
},
Expand Down

0 comments on commit 6e9a60a

Please sign in to comment.