Skip to content

Commit

Permalink
Merge pull request #589 from chandniyadav5/XBFIL-4328-Expose-Name-and…
Browse files Browse the repository at this point in the history
…-Size-Properties-to-API-Files-Endpoint

XBFIL-4328- Fix formatting and add 3 new fields
  • Loading branch information
manishT72 authored Jun 3, 2024
2 parents 18bc620 + 5819554 commit 3fb1c6d
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions xero_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,9 @@ paths:
$ref: '#/components/schemas/Association'
example: '[
{
"SendWithObject":false,
"Name":"testfile.pdf",
"Size":12357,
"FileId":"6beccb4a-0d7d-4518-93f3-e0cd1dccb254",
"ObjectId":"1270bf7c-5d18-473a-9231-1e36c4bd33ed",
"ObjectType":"Business",
Expand Down Expand Up @@ -591,8 +594,7 @@ paths:
example: '{
"19d4fc59-e799-410f-912b-03d4ab294d73": 2,
"82195976-5175-45d4-926e-807ff10892e7": 1,
"a8547af2-2900-4879-98b8-f1a780c78feb": 0
}'
"a8547af2-2900-4879-98b8-f1a780c78feb": 0}'
/Folders:
parameters:
- $ref: '#/components/parameters/requiredHeader'
Expand Down Expand Up @@ -984,6 +986,18 @@ components:
Association:
type: object
properties:
SendWithObject:
description: Boolean flag to determines whether the file is sent with the document it is attached to on client facing communications. Note- The SendWithObject element is only returned when using /Associations/{ObjectId} endpoint.
type: boolean
example: true
Name:
description: The name of the associated file. Note- The Name element is only returned when using /Associations/{ObjectId} endpoint.
type: string
example: Test.pdf
Size:
description: The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint.
type: integer
example: 12357
FileId:
description: The unique identifier of the file
type: string
Expand Down

0 comments on commit 3fb1c6d

Please sign in to comment.