Skip to content

Commit

Permalink
2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Huluti committed Jul 1, 2024
1 parent 6bbb143 commit 5ba6cde
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
git tag -a $PACKAGE_VERSION -m $PACKAGE_VERSION || true
git push --tags origin main
npm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN
npm publish --provenance
npm publish
else
echo " No changes, skipping."
fi
Expand Down
4 changes: 4 additions & 0 deletions clients/urlr-javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.3.0] - 2024-07-01

- Updated URLR API version to 1.3

## [2.2.0] - 2024-06-16

- Updated URLR API version to 1.2
Expand Down
4 changes: 4 additions & 0 deletions clients/urlr-php/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.3.0] - 2024-07-01

- Updated URLR API version to 1.3

## [2.2.0] - 2024-06-16

- Updated URLR API version to 1.2
Expand Down
4 changes: 4 additions & 0 deletions clients/urlr-python/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.3.0] - 2024-07-01

- Updated URLR API version to 1.3

## [2.2.0] - 2024-06-16

- Updated URLR API version to 1.2
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator/config-javascript.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
npmName: urlr-js
npmVersion: 2.2.0
npmVersion: 2.3.0
gitHost: github.com
gitUserId: urlr
gitRepoId: urlr-javascript
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator/config-php.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
packageName: URLR
composerPackageName: urlr/urlr-php
artifactVersion: 2.2.0
artifactVersion: 2.3.0
invokerPackage: URLR
variableNamingConvention: camelCase
developerOrganization: URLR
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator/config-python.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
projectName: URLR
packageName: urlr
packageVersion: 2.2.0
packageVersion: 2.3.0
infoName: URLR
infoEmail: [email protected]
gitUserId: urlr
Expand Down
21 changes: 17 additions & 4 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ info:
license:
name: 'All rights reserved'
url: 'https://urlr.me/en/legal-notice'
version: '1.2'
version: '1.3'
servers:
-
url: 'https://urlr.me/api/v1'
Expand Down Expand Up @@ -121,7 +121,7 @@ paths:
url: { description: 'Original URL', type: string }
team: { description: 'Team API ID', type: string, format: uuid }
folder_id: { description: 'Folder API ID', type: string, format: uuid }
domain: { description: Domain, type: string, example: urlr.me }
domain: { description: Domain, type: string, format: hostname, example: urlr.me }
code: { description: 'Short code', type: string, example: xxxxx }
label: { description: Label, type: string }
qrcode: { description: 'QR Code associated to the short link', properties: { data: { description: 'QR Code Data URL', type: string } }, type: object }
Expand All @@ -130,6 +130,7 @@ paths:
created_at: { description: 'Creation date', type: string, format: date-time }
updated_at: { description: 'Modification date', type: string, format: date-time }
expired_at: { description: 'Expiration date', type: string, format: date-time }
expired_url: { description: 'Expiration URL', type: string, format: url }
type: object
'404':
description: 'Not Found'
Expand Down Expand Up @@ -193,6 +194,11 @@ paths:
description: 'Folder API ID'
type: string
format: uuid
domain:
description: Domain
type: string
format: hostname
example: mybrand.com
code:
description: 'Custom short code'
type: string
Expand All @@ -206,7 +212,7 @@ paths:
type: string
qrcode:
description: 'QR Code'
properties: { size: { description: 'The size of the QR code (px)', type: integer, default: 600 }, format: { description: 'The format of the QR code', type: string, default: png, enum: [png, webp, svg] }, margin: { description: 'The margin around the QR code (px)', type: integer, default: 0 }, background_color: { description: 'The background color of the QR code (hexadecimal)', type: string, default: '#ffffff' }, foreground_color: { description: 'The foreground color of the QR code (hexadecimal)', type: string, default: '#000000' } }
properties: { size: { description: 'The size of the QR code (px)', type: integer, default: 600, maximum: 1000, minimum: 100 }, format: { description: 'The format of the QR code', type: string, default: png, enum: [png, webp, svg] }, margin: { description: 'The margin around the QR code (px)', type: integer, default: 0 }, background_color: { description: 'The background color of the QR code (hexadecimal)', type: string, default: '#ffffff' }, foreground_color: { description: 'The foreground color of the QR code (hexadecimal)', type: string, default: '#000000' } }
type: object
metatag:
description: 'Custom metadata for social previews'
Expand All @@ -216,6 +222,10 @@ paths:
description: 'Expiration date'
type: string
format: date-time
expired_url:
description: 'Expiration URL'
type: string
format: url
type: object
responses:
'201':
Expand All @@ -228,7 +238,7 @@ paths:
url: { description: 'Original URL', type: string }
team: { description: 'Team API ID', type: string, format: uuid }
folder_id: { description: 'Folder API ID', type: string, format: uuid }
domain: { description: Domain, type: string, example: urlr.me }
domain: { description: Domain, type: string, format: hostname, example: urlr.me }
code: { description: 'Short code', type: string, example: xxxxx }
label: { description: Label, type: string }
qrcode: { description: 'QR Code associated to the short link', properties: { data: { description: 'QR Code Data URL', type: string } }, type: object }
Expand All @@ -237,6 +247,7 @@ paths:
created_at: { description: 'Creation date', type: string, format: date-time }
updated_at: { description: 'Modification date', type: string, format: date-time }
expired_at: { description: 'Expiration date', type: string, format: date-time }
expired_url: { description: 'Expiration URL', type: string, format: url }
type: object
'401':
description: Unauthorized
Expand Down Expand Up @@ -301,6 +312,8 @@ paths:
description: 'The size of the QR code (px)'
type: integer
default: 600
maximum: 1000
minimum: 100
format:
description: 'The format of the QR code'
type: string
Expand Down

0 comments on commit 5ba6cde

Please sign in to comment.