Skip to content

Commit 78db8a5

Browse files
committed
1 parent 85c4127 commit 78db8a5

71 files changed

Lines changed: 629 additions & 207 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: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ docs/AccessTokensApi.md
66
docs/CreateAccessToken200Response.md
77
docs/CreateAccessToken401Response.md
88
docs/CreateAccessTokenRequest.md
9-
docs/CreateLink201Response.md
109
docs/CreateLink429Response.md
1110
docs/CreateLink500Response.md
1211
docs/CreateLinkRequest.md
12+
docs/CreateLinkRequestMetatag.md
1313
docs/FoldersApi.md
1414
docs/GetFolders200Response.md
1515
docs/GetFolders200ResponseFoldersInner.md
1616
docs/GetLink200Response.md
17+
docs/GetLink200ResponseGeolinksInner.md
18+
docs/GetLink200ResponseMetatag.md
1719
docs/GetLink401Response.md
1820
docs/GetLink404Response.md
1921
docs/GetLink422Response.md
@@ -36,14 +38,16 @@ test/test_access_tokens_api.py
3638
test/test_create_access_token200_response.py
3739
test/test_create_access_token401_response.py
3840
test/test_create_access_token_request.py
39-
test/test_create_link201_response.py
4041
test/test_create_link429_response.py
4142
test/test_create_link500_response.py
4243
test/test_create_link_request.py
44+
test/test_create_link_request_metatag.py
4345
test/test_folders_api.py
4446
test/test_get_folders200_response.py
4547
test/test_get_folders200_response_folders_inner.py
4648
test/test_get_link200_response.py
49+
test/test_get_link200_response_geolinks_inner.py
50+
test/test_get_link200_response_metatag.py
4751
test/test_get_link401_response.py
4852
test/test_get_link404_response.py
4953
test/test_get_link422_response.py
@@ -72,13 +76,15 @@ urlr/models/__init__.py
7276
urlr/models/create_access_token200_response.py
7377
urlr/models/create_access_token401_response.py
7478
urlr/models/create_access_token_request.py
75-
urlr/models/create_link201_response.py
7679
urlr/models/create_link429_response.py
7780
urlr/models/create_link500_response.py
7881
urlr/models/create_link_request.py
82+
urlr/models/create_link_request_metatag.py
7983
urlr/models/get_folders200_response.py
8084
urlr/models/get_folders200_response_folders_inner.py
8185
urlr/models/get_link200_response.py
86+
urlr/models/get_link200_response_geolinks_inner.py
87+
urlr/models/get_link200_response_metatag.py
8288
urlr/models/get_link401_response.py
8389
urlr/models/get_link404_response.py
8490
urlr/models/get_link422_response.py

CHANGELOG.md

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

3+
## [2.1.0] - 2024-06-07
4+
5+
- Updated URLR API version to 1.1
6+
7+
## [2.0.2] - 2024-05-30
8+
9+
- Documentation fixes
10+
311
## [2.0.1] - 2024-05-29
412

513
- Documentation fixes

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.0.1
1+
# urlr@2.1.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.0
8-
- Package version: 2.0.1
7+
- API version: 1.1
8+
- Package version: 2.1.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)
@@ -107,13 +107,15 @@ Class | Method | HTTP request | Description
107107
- [CreateAccessToken200Response](docs/CreateAccessToken200Response.md)
108108
- [CreateAccessToken401Response](docs/CreateAccessToken401Response.md)
109109
- [CreateAccessTokenRequest](docs/CreateAccessTokenRequest.md)
110-
- [CreateLink201Response](docs/CreateLink201Response.md)
111110
- [CreateLink429Response](docs/CreateLink429Response.md)
112111
- [CreateLink500Response](docs/CreateLink500Response.md)
113112
- [CreateLinkRequest](docs/CreateLinkRequest.md)
113+
- [CreateLinkRequestMetatag](docs/CreateLinkRequestMetatag.md)
114114
- [GetFolders200Response](docs/GetFolders200Response.md)
115115
- [GetFolders200ResponseFoldersInner](docs/GetFolders200ResponseFoldersInner.md)
116116
- [GetLink200Response](docs/GetLink200Response.md)
117+
- [GetLink200ResponseGeolinksInner](docs/GetLink200ResponseGeolinksInner.md)
118+
- [GetLink200ResponseMetatag](docs/GetLink200ResponseMetatag.md)
117119
- [GetLink401Response](docs/GetLink401Response.md)
118120
- [GetLink404Response](docs/GetLink404Response.md)
119121
- [GetLink422Response](docs/GetLink422Response.md)

docs/CreateLink201Response.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

docs/CreateLinkRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**code** | **str** | Custom short code | [optional]
1212
**label** | **str** | Label | [optional]
1313
**password** | **str** | Password | [optional]
14+
**metatag** | [**CreateLinkRequestMetatag**](CreateLinkRequestMetatag.md) | | [optional]
1415
**expired_at** | **datetime** | Expiration date | [optional]
1516

1617
## Example

docs/CreateLinkRequestMetatag.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# CreateLinkRequestMetatag
2+
3+
Custom metadata for social previews
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**title** | **str** | Title for the link | [optional]
10+
**description** | **str** | Description for the link | [optional]
11+
**image** | **str** | Image URL for the link. Recommended: 1200X630px<br>Maximum size: 3Mb - Formats: PNG, JPEG, WebP and GIF. | [optional]
12+
13+
## Example
14+
15+
```python
16+
from urlr.models.create_link_request_metatag import CreateLinkRequestMetatag
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of CreateLinkRequestMetatag from a JSON string
21+
create_link_request_metatag_instance = CreateLinkRequestMetatag.from_json(json)
22+
# print the JSON string representation of the object
23+
print(CreateLinkRequestMetatag.to_json())
24+
25+
# convert the object into a dict
26+
create_link_request_metatag_dict = create_link_request_metatag_instance.to_dict()
27+
# create an instance of CreateLinkRequestMetatag from a dict
28+
create_link_request_metatag_from_dict = CreateLinkRequestMetatag.from_dict(create_link_request_metatag_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+

docs/GetLink200Response.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **str** | Link API ID | [optional]
9+
**url** | **str** | Original URL | [optional]
10+
**team** | **str** | Team API ID | [optional]
11+
**folder_id** | **str** | Folder API ID | [optional]
12+
**domain** | **str** | Domain | [optional]
13+
**code** | **str** | Short code | [optional]
14+
**label** | **str** | Label | [optional]
15+
**metatag** | [**GetLink200ResponseMetatag**](GetLink200ResponseMetatag.md) | | [optional]
16+
**geolinks** | [**List[GetLink200ResponseGeolinksInner]**](GetLink200ResponseGeolinksInner.md) | Geographical targeting links | [optional]
17+
**created_at** | **datetime** | Creation date | [optional]
18+
**updated_at** | **datetime** | Modification date | [optional]
19+
**expired_at** | **datetime** | Expiration date | [optional]
920

1021
## Example
1122

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# GetLink200ResponseGeolinksInner
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**type** | **str** | Type of the geographic link | [optional]
9+
**value** | **str** | Value corresponding to the type of the geographic link | [optional]
10+
**url** | **str** | URL of the geographic link | [optional]
11+
12+
## Example
13+
14+
```python
15+
from urlr.models.get_link200_response_geolinks_inner import GetLink200ResponseGeolinksInner
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of GetLink200ResponseGeolinksInner from a JSON string
20+
get_link200_response_geolinks_inner_instance = GetLink200ResponseGeolinksInner.from_json(json)
21+
# print the JSON string representation of the object
22+
print(GetLink200ResponseGeolinksInner.to_json())
23+
24+
# convert the object into a dict
25+
get_link200_response_geolinks_inner_dict = get_link200_response_geolinks_inner_instance.to_dict()
26+
# create an instance of GetLink200ResponseGeolinksInner from a dict
27+
get_link200_response_geolinks_inner_from_dict = GetLink200ResponseGeolinksInner.from_dict(get_link200_response_geolinks_inner_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

docs/GetLink200ResponseMetatag.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# GetLink200ResponseMetatag
2+
3+
Custom metadata for social previews
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**title** | **str** | Title of the link | [optional]
10+
**description** | **str** | Description of the link | [optional]
11+
**image** | **str** | Image URL of the link | [optional]
12+
13+
## Example
14+
15+
```python
16+
from urlr.models.get_link200_response_metatag import GetLink200ResponseMetatag
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of GetLink200ResponseMetatag from a JSON string
21+
get_link200_response_metatag_instance = GetLink200ResponseMetatag.from_json(json)
22+
# print the JSON string representation of the object
23+
print(GetLink200ResponseMetatag.to_json())
24+
25+
# convert the object into a dict
26+
get_link200_response_metatag_dict = get_link200_response_metatag_instance.to_dict()
27+
# create an instance of GetLink200ResponseMetatag from a dict
28+
get_link200_response_metatag_from_dict = GetLink200ResponseMetatag.from_dict(get_link200_response_metatag_dict)
29+
```
30+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
31+
32+

docs/LinksApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Method | HTTP request | Description
99

1010

1111
# **create_link**
12-
> CreateLink201Response create_link(create_link_request=create_link_request)
12+
> GetLink200Response create_link(create_link_request=create_link_request)
1313
1414
Create a link
1515

@@ -19,8 +19,8 @@ Create a link
1919

2020
```python
2121
import urlr
22-
from urlr.models.create_link201_response import CreateLink201Response
2322
from urlr.models.create_link_request import CreateLinkRequest
23+
from urlr.models.get_link200_response import GetLink200Response
2424
from urlr.rest import ApiException
2525
from pprint import pprint
2626

@@ -66,7 +66,7 @@ Name | Type | Description | Notes
6666

6767
### Return type
6868

69-
[**CreateLink201Response**](CreateLink201Response.md)
69+
[**GetLink200Response**](GetLink200Response.md)
7070

7171
### Authorization
7272

0 commit comments

Comments
 (0)