Skip to content

Commit 32e4b40

Browse files
committed
1 parent 609b53c commit 32e4b40

108 files changed

Lines changed: 1278 additions & 312 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ docs/CreateDomain200Response.md
1010
docs/CreateDomain409Response.md
1111
docs/CreateDomainRequest.md
1212
docs/CreateLink429Response.md
13-
docs/CreateLink500Response.md
14-
docs/CreateLinkRequest.md
15-
docs/CreateLinkRequestMetatag.md
16-
docs/CreateLinkRequestQrcode.md
1713
docs/CreateQrCodeRequest.md
1814
docs/CreateQrCodeRequestOneOf.md
1915
docs/CreateQrCodeRequestOneOf1.md
2016
docs/DomainsApi.md
17+
docs/EditLink500Response.md
2118
docs/FoldersApi.md
2219
docs/GetFolders200Response.md
2320
docs/GetFolders200ResponseFoldersInner.md
@@ -35,12 +32,17 @@ docs/GetStatistics200Response.md
3532
docs/GetStatisticsRequest.md
3633
docs/GetTeams200Response.md
3734
docs/GetTeams200ResponseTeamsInner.md
35+
docs/LinkBaseRequest.md
36+
docs/LinkBaseRequestMetatag.md
37+
docs/LinkBaseRequestQrcode.md
38+
docs/LinkCreateRequest.md
39+
docs/LinkEditRequest.md
3840
docs/LinksApi.md
3941
docs/QRCodesApi.md
4042
docs/RefreshAccessToken401Response.md
4143
docs/RefreshAccessTokenRequest.md
4244
docs/StatisticsApi.md
43-
docs/TeamsApi.md
45+
docs/WorkspacesApi.md
4446
pyproject.toml
4547
requirements.txt
4648
setup.cfg
@@ -55,14 +57,11 @@ test/test_create_domain200_response.py
5557
test/test_create_domain409_response.py
5658
test/test_create_domain_request.py
5759
test/test_create_link429_response.py
58-
test/test_create_link500_response.py
59-
test/test_create_link_request.py
60-
test/test_create_link_request_metatag.py
61-
test/test_create_link_request_qrcode.py
6260
test/test_create_qr_code_request.py
6361
test/test_create_qr_code_request_one_of.py
6462
test/test_create_qr_code_request_one_of1.py
6563
test/test_domains_api.py
64+
test/test_edit_link500_response.py
6665
test/test_folders_api.py
6766
test/test_get_folders200_response.py
6867
test/test_get_folders200_response_folders_inner.py
@@ -80,12 +79,17 @@ test/test_get_statistics200_response.py
8079
test/test_get_statistics_request.py
8180
test/test_get_teams200_response.py
8281
test/test_get_teams200_response_teams_inner.py
82+
test/test_link_base_request.py
83+
test/test_link_base_request_metatag.py
84+
test/test_link_base_request_qrcode.py
85+
test/test_link_create_request.py
86+
test/test_link_edit_request.py
8387
test/test_links_api.py
8488
test/test_qr_codes_api.py
8589
test/test_refresh_access_token401_response.py
8690
test/test_refresh_access_token_request.py
8791
test/test_statistics_api.py
88-
test/test_teams_api.py
92+
test/test_workspaces_api.py
8993
tox.ini
9094
urlr/__init__.py
9195
urlr/api/__init__.py
@@ -95,7 +99,7 @@ urlr/api/folders_api.py
9599
urlr/api/links_api.py
96100
urlr/api/qr_codes_api.py
97101
urlr/api/statistics_api.py
98-
urlr/api/teams_api.py
102+
urlr/api/workspaces_api.py
99103
urlr/api_client.py
100104
urlr/api_response.py
101105
urlr/configuration.py
@@ -108,13 +112,10 @@ urlr/models/create_domain200_response.py
108112
urlr/models/create_domain409_response.py
109113
urlr/models/create_domain_request.py
110114
urlr/models/create_link429_response.py
111-
urlr/models/create_link500_response.py
112-
urlr/models/create_link_request.py
113-
urlr/models/create_link_request_metatag.py
114-
urlr/models/create_link_request_qrcode.py
115115
urlr/models/create_qr_code_request.py
116116
urlr/models/create_qr_code_request_one_of.py
117117
urlr/models/create_qr_code_request_one_of1.py
118+
urlr/models/edit_link500_response.py
118119
urlr/models/get_folders200_response.py
119120
urlr/models/get_folders200_response_folders_inner.py
120121
urlr/models/get_link200_response.py
@@ -131,6 +132,11 @@ urlr/models/get_statistics200_response.py
131132
urlr/models/get_statistics_request.py
132133
urlr/models/get_teams200_response.py
133134
urlr/models/get_teams200_response_teams_inner.py
135+
urlr/models/link_base_request.py
136+
urlr/models/link_base_request_metatag.py
137+
urlr/models/link_base_request_qrcode.py
138+
urlr/models/link_create_request.py
139+
urlr/models/link_edit_request.py
134140
urlr/models/refresh_access_token401_response.py
135141
urlr/models/refresh_access_token_request.py
136142
urlr/py.typed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [2.10.0] - 2025-07-23
4+
5+
- Updated URLR API version to 1.10
6+
37
## [2.9.4] - 2025-06-30
48

59
- Fix Python build

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.9.4
1+
# urlr@2.10.0
22

33
![PyPI - Version](https://img.shields.io/pypi/v/urlr) ![PyPI - Downloads](https://img.shields.io/pypi/dm/urlr) ![PyPI - License](https://img.shields.io/pypi/l/urlr)
44

55
This SDK is automatically generated with the [OpenAPI Generator](https://openapi-generator.tech) project.
66

7-
- API version: 1.9
8-
- Package version: 2.9.4
7+
- API version: 1.10
8+
- Package version: 2.10.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)
@@ -96,12 +96,13 @@ Class | Method | HTTP request | Description
9696
*AccessTokensApi* | [**create_access_token**](docs/AccessTokensApi.md#create_access_token) | **POST** /access_tokens/create | Get an access token
9797
*AccessTokensApi* | [**refresh_access_token**](docs/AccessTokensApi.md#refresh_access_token) | **POST** /access_tokens/refresh | Refresh an access token
9898
*DomainsApi* | [**create_domain**](docs/DomainsApi.md#create_domain) | **POST** /domains/create | Create a domain
99-
*FoldersApi* | [**get_folders**](docs/FoldersApi.md#get_folders) | **GET** /folders/{team_id} | Get folders of team
99+
*FoldersApi* | [**get_folders**](docs/FoldersApi.md#get_folders) | **GET** /folders/{team_id} | Get folders of workspace
100100
*LinksApi* | [**create_link**](docs/LinksApi.md#create_link) | **POST** /links/create | Create a link
101+
*LinksApi* | [**edit_link**](docs/LinksApi.md#edit_link) | **PATCH** /links/{link_id} | Edit a link
101102
*LinksApi* | [**get_link**](docs/LinksApi.md#get_link) | **GET** /links/{link_id} | Get a link
102103
*QRCodesApi* | [**create_qr_code**](docs/QRCodesApi.md#create_qr_code) | **POST** /qrcodes/create | Create a QR Code
103104
*StatisticsApi* | [**get_statistics**](docs/StatisticsApi.md#get_statistics) | **POST** /statistics | Get statistics of a link
104-
*TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /teams | Get teams of user
105+
*WorkspacesApi* | [**get_teams**](docs/WorkspacesApi.md#get_teams) | **GET** /teams | Get workspaces of user
105106

106107

107108
## Models
@@ -113,13 +114,10 @@ Class | Method | HTTP request | Description
113114
- [CreateDomain409Response](docs/CreateDomain409Response.md)
114115
- [CreateDomainRequest](docs/CreateDomainRequest.md)
115116
- [CreateLink429Response](docs/CreateLink429Response.md)
116-
- [CreateLink500Response](docs/CreateLink500Response.md)
117-
- [CreateLinkRequest](docs/CreateLinkRequest.md)
118-
- [CreateLinkRequestMetatag](docs/CreateLinkRequestMetatag.md)
119-
- [CreateLinkRequestQrcode](docs/CreateLinkRequestQrcode.md)
120117
- [CreateQrCodeRequest](docs/CreateQrCodeRequest.md)
121118
- [CreateQrCodeRequestOneOf](docs/CreateQrCodeRequestOneOf.md)
122119
- [CreateQrCodeRequestOneOf1](docs/CreateQrCodeRequestOneOf1.md)
120+
- [EditLink500Response](docs/EditLink500Response.md)
123121
- [GetFolders200Response](docs/GetFolders200Response.md)
124122
- [GetFolders200ResponseFoldersInner](docs/GetFolders200ResponseFoldersInner.md)
125123
- [GetLink200Response](docs/GetLink200Response.md)
@@ -136,6 +134,11 @@ Class | Method | HTTP request | Description
136134
- [GetStatisticsRequest](docs/GetStatisticsRequest.md)
137135
- [GetTeams200Response](docs/GetTeams200Response.md)
138136
- [GetTeams200ResponseTeamsInner](docs/GetTeams200ResponseTeamsInner.md)
137+
- [LinkBaseRequest](docs/LinkBaseRequest.md)
138+
- [LinkBaseRequestMetatag](docs/LinkBaseRequestMetatag.md)
139+
- [LinkBaseRequestQrcode](docs/LinkBaseRequestQrcode.md)
140+
- [LinkCreateRequest](docs/LinkCreateRequest.md)
141+
- [LinkEditRequest](docs/LinkEditRequest.md)
139142
- [RefreshAccessToken401Response](docs/RefreshAccessToken401Response.md)
140143
- [RefreshAccessTokenRequest](docs/RefreshAccessTokenRequest.md)
141144

docs/CreateQrCodeRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**background_color** | **str** | The background color of the QR code (hexadecimal) | [optional] [default to '#ffffff']
1212
**foreground_color** | **str** | The foreground color of the QR code (hexadecimal) | [optional] [default to '#000000']
1313
**url** | **str** | URL of the QR Code |
14-
**team_id** | **str** | Team API ID |
14+
**team_id** | **str** | Workspace API ID |
1515
**link_id** | **str** | Link API ID of the QR Code |
1616

1717
## Example

docs/CreateQrCodeRequestOneOf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**url** | **str** | URL of the QR Code |
9-
**team_id** | **str** | Team API ID |
9+
**team_id** | **str** | Workspace API ID |
1010

1111
## Example
1212

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CreateLink500Response
1+
# EditLink500Response
22

33

44
## Properties
@@ -13,19 +13,19 @@ Name | Type | Description | Notes
1313
## Example
1414

1515
```python
16-
from urlr.models.create_link500_response import CreateLink500Response
16+
from urlr.models.edit_link500_response import EditLink500Response
1717

1818
# TODO update the JSON string below
1919
json = "{}"
20-
# create an instance of CreateLink500Response from a JSON string
21-
create_link500_response_instance = CreateLink500Response.from_json(json)
20+
# create an instance of EditLink500Response from a JSON string
21+
edit_link500_response_instance = EditLink500Response.from_json(json)
2222
# print the JSON string representation of the object
23-
print(CreateLink500Response.to_json())
23+
print(EditLink500Response.to_json())
2424

2525
# convert the object into a dict
26-
create_link500_response_dict = create_link500_response_instance.to_dict()
27-
# create an instance of CreateLink500Response from a dict
28-
create_link500_response_from_dict = CreateLink500Response.from_dict(create_link500_response_dict)
26+
edit_link500_response_dict = edit_link500_response_instance.to_dict()
27+
# create an instance of EditLink500Response from a dict
28+
edit_link500_response_from_dict = EditLink500Response.from_dict(edit_link500_response_dict)
2929
```
3030
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3131

docs/FoldersApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ All URIs are relative to *https://urlr.me/api/v1*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**get_folders**](FoldersApi.md#get_folders) | **GET** /folders/{team_id} | Get folders of team
7+
[**get_folders**](FoldersApi.md#get_folders) | **GET** /folders/{team_id} | Get folders of workspace
88

99

1010
# **get_folders**
1111
> GetFolders200Response get_folders(team_id)
1212
13-
Get folders of team
13+
Get folders of workspace
1414

1515
### Example
1616

@@ -42,10 +42,10 @@ configuration = urlr.Configuration(
4242
with urlr.ApiClient(configuration) as api_client:
4343
# Create an instance of the API class
4444
api_instance = urlr.FoldersApi(api_client)
45-
team_id = 'ffefc6c4-d970-4373-a867-2a69c8be2c89' # str | Team API ID
45+
team_id = 'ffefc6c4-d970-4373-a867-2a69c8be2c89' # str | Workspace API ID
4646

4747
try:
48-
# Get folders of team
48+
# Get folders of workspace
4949
api_response = api_instance.get_folders(team_id)
5050
print("The response of FoldersApi->get_folders:\n")
5151
pprint(api_response)
@@ -60,7 +60,7 @@ with urlr.ApiClient(configuration) as api_client:
6060

6161
Name | Type | Description | Notes
6262
------------- | ------------- | ------------- | -------------
63-
**team_id** | **str**| Team API ID |
63+
**team_id** | **str**| Workspace API ID |
6464

6565
### Return type
6666

@@ -79,7 +79,7 @@ Name | Type | Description | Notes
7979

8080
| Status code | Description | Response headers |
8181
|-------------|-------------|------------------|
82-
**200** | Folders of team | - |
82+
**200** | Folders of workspace | - |
8383
**404** | Not Found | - |
8484
**401** | Unauthorized | - |
8585
**422** | Validation Failed | - |

docs/GetLink200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **str** | Link API ID | [optional]
99
**url** | **str** | Original URL | [optional]
10-
**team_id** | **str** | Team API ID | [optional]
10+
**team_id** | **str** | Workspace API ID | [optional]
1111
**folder_id** | **str** | Folder API ID | [optional]
1212
**domain** | **str** | Domain | [optional]
1313
**code** | **str** | Short code | [optional]

docs/GetStatistics200Response.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**link_id** | **str** | Link API ID | [optional]
9-
**clicks** | **int** | Clicks | [optional]
10-
**unique_clicks** | **int** | Unique clicks | [optional]
9+
**clicks** | **int** | Total number of visits, combining clicks and scans | [optional]
10+
**unique_clicks** | **int** | Number of unique visitors, combining clicks and scans | [optional]
1111

1212
## Example
1313

docs/GetTeams200ResponseTeamsInner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**id** | **str** | Team API ID | [optional]
9-
**name** | **str** | Team name | [optional]
8+
**id** | **str** | Workspace API ID | [optional]
9+
**name** | **str** | Workspace name | [optional]
1010

1111
## Example
1212

0 commit comments

Comments
 (0)