@teamleader/focus-api-specification 1.222.0 → 1.223.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,7 @@ info:
|
|
|
3
3
|
title: Teamleader API
|
|
4
4
|
description: This is the documentation of the Teamleader Focus API. If you have any feedback, or are you missing functionality to support your use case? Let us know via [api@teamleader.eu](mailto:api@teamleader.eu).
|
|
5
5
|
contact: {}
|
|
6
|
-
version: 1.
|
|
6
|
+
version: 1.223.0
|
|
7
7
|
servers:
|
|
8
8
|
- url: https://api.focus.teamleader.eu
|
|
9
9
|
variables: {}
|
|
@@ -31553,10 +31553,19 @@ paths:
|
|
|
31553
31553
|
properties: &ref_705
|
|
31554
31554
|
filter:
|
|
31555
31555
|
type: object
|
|
31556
|
-
required
|
|
31557
|
-
|
|
31556
|
+
description: Either `subject` or `ids` is required
|
|
31557
|
+
anyOf:
|
|
31558
|
+
- title: By subject
|
|
31559
|
+
description: Lists the files linked to `subject`
|
|
31560
|
+
required:
|
|
31561
|
+
- subject
|
|
31562
|
+
- title: By ids
|
|
31563
|
+
description: Lists the files with the given `ids`
|
|
31564
|
+
required:
|
|
31565
|
+
- ids
|
|
31558
31566
|
properties:
|
|
31559
31567
|
subject:
|
|
31568
|
+
description: Required, unless `ids` is given
|
|
31560
31569
|
allOf:
|
|
31561
31570
|
- title: TypeAndId
|
|
31562
31571
|
type: object
|
|
@@ -31576,6 +31585,18 @@ paths:
|
|
|
31576
31585
|
- nextgenProject
|
|
31577
31586
|
- ticket
|
|
31578
31587
|
example: company
|
|
31588
|
+
ids:
|
|
31589
|
+
type: array
|
|
31590
|
+
description: Only returns the files with these ids. Files the user has no access to are left out.
|
|
31591
|
+
items:
|
|
31592
|
+
type: string
|
|
31593
|
+
example:
|
|
31594
|
+
- a856642a-a476-4b69-8e42-e7d1badb2ce9
|
|
31595
|
+
- b0e1ad49-2a4e-4c8f-9a3f-1d2f6c7e8a90
|
|
31596
|
+
term:
|
|
31597
|
+
type: string
|
|
31598
|
+
description: Filters on the file name. Accents and special characters are transliterated, so `cafe` also matches `Café.pdf`.
|
|
31599
|
+
example: invoice
|
|
31579
31600
|
page:
|
|
31580
31601
|
title: Page
|
|
31581
31602
|
type: object
|
|
@@ -3,7 +3,7 @@ info:
|
|
|
3
3
|
title: Teamleader API
|
|
4
4
|
description: This is the documentation of the Teamleader Focus API. If you have any feedback, or are you missing functionality to support your use case? Let us know via [api@teamleader.eu](mailto:api@teamleader.eu).
|
|
5
5
|
contact: {}
|
|
6
|
-
version: 1.
|
|
6
|
+
version: 1.223.0
|
|
7
7
|
servers:
|
|
8
8
|
- url: https://api.focus.teamleader.eu
|
|
9
9
|
variables: {}
|
|
@@ -31581,10 +31581,19 @@ components:
|
|
|
31581
31581
|
properties:
|
|
31582
31582
|
filter:
|
|
31583
31583
|
type: object
|
|
31584
|
-
required
|
|
31585
|
-
|
|
31584
|
+
description: Either `subject` or `ids` is required
|
|
31585
|
+
anyOf:
|
|
31586
|
+
- title: By subject
|
|
31587
|
+
description: Lists the files linked to `subject`
|
|
31588
|
+
required:
|
|
31589
|
+
- subject
|
|
31590
|
+
- title: By ids
|
|
31591
|
+
description: Lists the files with the given `ids`
|
|
31592
|
+
required:
|
|
31593
|
+
- ids
|
|
31586
31594
|
properties:
|
|
31587
31595
|
subject:
|
|
31596
|
+
description: Required, unless `ids` is given
|
|
31588
31597
|
allOf:
|
|
31589
31598
|
- $ref: '#/components/schemas/TypeAndId'
|
|
31590
31599
|
- properties:
|
|
@@ -31602,6 +31611,18 @@ components:
|
|
|
31602
31611
|
- nextgenProject
|
|
31603
31612
|
- ticket
|
|
31604
31613
|
example: company
|
|
31614
|
+
ids:
|
|
31615
|
+
type: array
|
|
31616
|
+
description: Only returns the files with these ids. Files the user has no access to are left out.
|
|
31617
|
+
items:
|
|
31618
|
+
type: string
|
|
31619
|
+
example:
|
|
31620
|
+
- a856642a-a476-4b69-8e42-e7d1badb2ce9
|
|
31621
|
+
- b0e1ad49-2a4e-4c8f-9a3f-1d2f6c7e8a90
|
|
31622
|
+
term:
|
|
31623
|
+
type: string
|
|
31624
|
+
description: Filters on the file name. Accents and special characters are transliterated, so `cafe` also matches `Café.pdf`.
|
|
31625
|
+
example: invoice
|
|
31605
31626
|
page:
|
|
31606
31627
|
$ref: '#/components/schemas/Page'
|
|
31607
31628
|
sort:
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamleader/focus-api-specification",
|
|
3
3
|
"description": "Teamleader Focus API Specification",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.223.0",
|
|
5
5
|
"author": "Teamleader <development@teamleader.eu> (https://www.teamleader.eu)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/teamleadercrm/focus-api-specification/issues"
|