Annature (Independent Publisher) - Updated API Response (#3517)
* upgraded version v1 * fixed schema for old clients * changed api response type string to boolean * Added Pagination Parameters --------- Co-authored-by: NirmalK <nirmalk.web@gmail.com>
This commit is contained in:
Родитель
362499e0f6
Коммит
3abeed7b44
|
@ -1788,7 +1788,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
"type": "boolean"
|
||||
},
|
||||
"muted": {
|
||||
"type": "boolean"
|
||||
|
|
|
@ -2,12 +2,14 @@
|
|||
|
||||
Clockify is a popular, easy to use, free time tracking software solution. This connector helps to connect your Clockify account to the Power Platform so you can pull data like Workspaces, Projects, Tasks and TimeEntries.
|
||||
|
||||
## Publisher: Dr Adrian Colquhoun (Strategik)
|
||||
|
||||
## Change Notes
|
||||
|
||||
- 21 Oct 2024 : Added support for pagination for workspace users and user time entries.
|
||||
|
||||
- 28 Oct 2023 : Added support for the new v1 version of clockify. Old Version deprecated but the existing flows will continue to run.
|
||||
|
||||
## Publisher: Dr Adrian Colquhoun (Strategik)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
To use this connector, you need the following
|
||||
|
@ -48,7 +50,5 @@ There are no known issues at time of publishing.
|
|||
There's a rate limit of 10 requests per second. If you get over the limit, you'll get "Too many requests" error.
|
||||
|
||||
|
||||
|
||||
## Deployment Instructions
|
||||
Follow the instructions provided on the [Power Automate blog](https://flow.microsoft.com/en-us/blog/import-a-connector-from-github-as-a-custom-connector/).
|
||||
|
||||
Follow the instructions provided on the [Power Automate blog](https://flow.microsoft.com/en-us/blog/import-a-connector-from-github-as-a-custom-connector/).
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"title": "Clockify",
|
||||
"contact": {
|
||||
"email": "adrian@strategik.com.au",
|
||||
|
@ -125,7 +125,7 @@
|
|||
"$ref": "#/parameters/WorkspaceParamForPath"
|
||||
},
|
||||
{
|
||||
"description": "email",
|
||||
"description": "Email",
|
||||
"in": "query",
|
||||
"name": "email",
|
||||
"required": false,
|
||||
|
@ -134,16 +134,16 @@
|
|||
"x-ms-visibility": "advanced"
|
||||
},
|
||||
{
|
||||
"description": "projectid",
|
||||
"description": "Project Id",
|
||||
"in": "query",
|
||||
"name": "projectid",
|
||||
"name": "project-id",
|
||||
"required": false,
|
||||
"type": "string",
|
||||
"x-ms-summary": "Project Id",
|
||||
"x-ms-visibility": "advanced"
|
||||
},
|
||||
{
|
||||
"description": "name",
|
||||
"description": "Name",
|
||||
"in": "query",
|
||||
"name": "name",
|
||||
"required": false,
|
||||
|
@ -152,7 +152,7 @@
|
|||
"x-ms-visibility": "advanced"
|
||||
},
|
||||
{
|
||||
"description": "status",
|
||||
"description": "Status",
|
||||
"in": "query",
|
||||
"name": "status",
|
||||
"required": false,
|
||||
|
@ -165,6 +165,54 @@
|
|||
"INACTIVE"
|
||||
],
|
||||
"x-ms-visibility": "advanced"
|
||||
},
|
||||
{
|
||||
"description": "Page number",
|
||||
"x-ms-summary": "Page number",
|
||||
"type": "integer",
|
||||
"in": "query",
|
||||
"name": "page",
|
||||
"required": false,
|
||||
"x-ms-visibility": "advanced"
|
||||
},
|
||||
{
|
||||
"description": "Page size max allowed 50",
|
||||
"x-ms-summary": "Page size",
|
||||
"type": "integer",
|
||||
"in": "query",
|
||||
"name": "page-size",
|
||||
"required": false,
|
||||
"x-ms-visibility": "advanced"
|
||||
},
|
||||
{
|
||||
"description": "Sorting column criteria. Default value: EMAIL",
|
||||
"x-ms-summary": "Sort Column",
|
||||
"type": "string",
|
||||
"in": "query",
|
||||
"name": "sort-column",
|
||||
"required": false,
|
||||
"x-ms-visibility": "advanced",
|
||||
"enum": [
|
||||
"ID",
|
||||
"EMAIL",
|
||||
"NAME",
|
||||
"NAME_LOWERCASE",
|
||||
"HOURLYRATE",
|
||||
"COSTRATE"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Sorting mode. Default value: ASCENDING",
|
||||
"x-ms-summary": "Sort Order",
|
||||
"type": "string",
|
||||
"in": "query",
|
||||
"name": "sort-order",
|
||||
"required": false,
|
||||
"x-ms-visibility": "advanced",
|
||||
"enum": [
|
||||
"ASCENDING",
|
||||
"DESCENDING"
|
||||
]
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
@ -228,38 +276,35 @@
|
|||
"200": {
|
||||
"description": "Clients List",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"address": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Address"
|
||||
},
|
||||
"archived": {
|
||||
"type": "boolean",
|
||||
"x-ms-summary": "Archived"
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Email"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Id"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Name"
|
||||
},
|
||||
"note": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Note"
|
||||
},
|
||||
"workspaceId": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Workspace Id"
|
||||
}
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"address": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Address"
|
||||
},
|
||||
"archived": {
|
||||
"type": "boolean",
|
||||
"x-ms-summary": "Archived"
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Email"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Id"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Name"
|
||||
},
|
||||
"note": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Note"
|
||||
},
|
||||
"workspaceId": {
|
||||
"type": "string",
|
||||
"x-ms-summary": "Workspace Id"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1128,6 +1173,24 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Page number",
|
||||
"x-ms-summary": "Page number",
|
||||
"type": "integer",
|
||||
"in": "query",
|
||||
"name": "page",
|
||||
"required": false,
|
||||
"x-ms-visibility": "advanced"
|
||||
},
|
||||
{
|
||||
"description": "Page size max allowed 50",
|
||||
"x-ms-summary": "Page size",
|
||||
"type": "integer",
|
||||
"in": "query",
|
||||
"name": "page-size",
|
||||
"required": false,
|
||||
"x-ms-visibility": "advanced"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче