Skip to content

Commit 8a13252

Browse files
committed
Update SDK and version to 1.0.0
1 parent a3300a2 commit 8a13252

13 files changed

+63
-59
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ $apiInstance = new WhatPulse\Api\ComputersApi(
3838
$config
3939
);
4040
$id = 'id_example'; // string | User ID or username
41-
$is_archived = 'is_archived_example'; // string | Get filter parameters
41+
$is_archived = True; // bool
4242

4343
try {
4444
$result = $apiInstance->v1UsersComputers($id, $is_archived);
@@ -51,7 +51,7 @@ try {
5151

5252
## API Endpoints
5353

54-
All URIs are relative to *https://whatpulse.org/api/v1*
54+
All URIs are relative to *https://whatpulse.test/api/v1*
5555

5656
Class | Method | HTTP request | Description
5757
------------ | ------------- | ------------- | -------------

composer.json

Lines changed: 42 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,44 @@
11
{
2-
"name": "whatpulse/api-sdk-php",
3-
"version": "1.0.0",
4-
"description": "Public API for WhatPulse user data access. This API allows authenticated users to access their own data and public data from other users, depending on privacy settings.",
5-
"keywords": [
6-
"openapitools",
7-
"openapi-generator",
8-
"openapi",
9-
"php",
10-
"sdk",
11-
"rest",
12-
"api"
13-
],
14-
"homepage": "https://github.com/whatpulse/api-sdk-php",
15-
"license": "MIT",
16-
"authors": [
17-
{
18-
"name": "WhatPulse",
19-
"homepage": "https://whatpulse.org"
20-
}
21-
],
22-
"require": {
23-
"php": "^8.1",
24-
"ext-curl": "*",
25-
"ext-json": "*",
26-
"ext-mbstring": "*",
27-
"guzzlehttp/guzzle": "^7.3",
28-
"guzzlehttp/psr7": "^1.7 || ^2.0"
29-
},
30-
"require-dev": {
31-
"phpunit/phpunit": "^8.0 || ^9.0",
32-
"friendsofphp/php-cs-fixer": "^3.5"
33-
},
34-
"autoload": {
35-
"psr-4": { "WhatPulse\\" : "lib/" }
36-
},
37-
"autoload-dev": {
38-
"psr-4": { "WhatPulse\\Test\\" : "test/" }
2+
"name": "whatpulse/api-sdk-php",
3+
"version": "1.0.0",
4+
"description": "Public API for WhatPulse user data access. This API allows authenticated users to access their own data and public data from other users, depending on privacy settings.",
5+
"keywords": [
6+
"openapitools",
7+
"openapi-generator",
8+
"openapi",
9+
"php",
10+
"sdk",
11+
"rest",
12+
"api"
13+
],
14+
"homepage": "https://github.com/whatpulse/api-sdk-php",
15+
"license": "MIT",
16+
"authors": [
17+
{
18+
"name": "WhatPulse",
19+
"homepage": "https://whatpulse.org"
3920
}
40-
}
21+
],
22+
"require": {
23+
"php": "^8.1",
24+
"ext-curl": "*",
25+
"ext-json": "*",
26+
"ext-mbstring": "*",
27+
"guzzlehttp/guzzle": "^7.3",
28+
"guzzlehttp/psr7": "^1.7 || ^2.0"
29+
},
30+
"require-dev": {
31+
"phpunit/phpunit": "^8.0 || ^9.0",
32+
"friendsofphp/php-cs-fixer": "^3.5"
33+
},
34+
"autoload": {
35+
"psr-4": {
36+
"WhatPulse\\": "lib/"
37+
}
38+
},
39+
"autoload-dev": {
40+
"psr-4": {
41+
"WhatPulse\\Test\\": "test/"
42+
}
43+
}
44+
}

docs/Api/ComputersApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WhatPulse\ComputersApi
22

3-
All URIs are relative to https://whatpulse.org/api/v1, except if the operation defines another base path.
3+
All URIs are relative to https://whatpulse.test/api/v1, except if the operation defines another base path.
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |
@@ -35,7 +35,7 @@ $apiInstance = new WhatPulse\Api\ComputersApi(
3535
$config
3636
);
3737
$id = 'id_example'; // string | User ID or username
38-
$is_archived = 'is_archived_example'; // string | Get filter parameters
38+
$is_archived = True; // bool
3939

4040
try {
4141
$result = $apiInstance->v1UsersComputers($id, $is_archived);
@@ -50,7 +50,7 @@ try {
5050
| Name | Type | Description | Notes |
5151
| ------------- | ------------- | ------------- | ------------- |
5252
| **id** | **string**| User ID or username | |
53-
| **is_archived** | **string**| Get filter parameters | [optional] |
53+
| **is_archived** | **bool**| | [optional] |
5454

5555
### Return type
5656

docs/Api/MembersApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WhatPulse\MembersApi
22

3-
All URIs are relative to https://whatpulse.org/api/v1, except if the operation defines another base path.
3+
All URIs are relative to https://whatpulse.test/api/v1, except if the operation defines another base path.
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |

docs/Api/ProfilesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WhatPulse\ProfilesApi
22

3-
All URIs are relative to https://whatpulse.org/api/v1, except if the operation defines another base path.
3+
All URIs are relative to https://whatpulse.test/api/v1, except if the operation defines another base path.
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |

docs/Api/PulsesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WhatPulse\PulsesApi
22

3-
All URIs are relative to https://whatpulse.org/api/v1, except if the operation defines another base path.
3+
All URIs are relative to https://whatpulse.test/api/v1, except if the operation defines another base path.
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |

docs/Api/SubteamMembersApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WhatPulse\SubteamMembersApi
22

3-
All URIs are relative to https://whatpulse.org/api/v1, except if the operation defines another base path.
3+
All URIs are relative to https://whatpulse.test/api/v1, except if the operation defines another base path.
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |

docs/Api/SubteamsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WhatPulse\SubteamsApi
22

3-
All URIs are relative to https://whatpulse.org/api/v1, except if the operation defines another base path.
3+
All URIs are relative to https://whatpulse.test/api/v1, except if the operation defines another base path.
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |

docs/Api/TeamsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WhatPulse\TeamsApi
22

3-
All URIs are relative to https://whatpulse.org/api/v1, except if the operation defines another base path.
3+
All URIs are relative to https://whatpulse.test/api/v1, except if the operation defines another base path.
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |

docs/Api/TimeSeriesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WhatPulse\TimeSeriesApi
22

3-
All URIs are relative to https://whatpulse.org/api/v1, except if the operation defines another base path.
3+
All URIs are relative to https://whatpulse.test/api/v1, except if the operation defines another base path.
44

55
| Method | HTTP request | Description |
66
| ------------- | ------------- | ------------- |

0 commit comments

Comments
 (0)