|
5 | 5 | url: https://app.linkbreakers.com |
6 | 6 | description: This is a documentation of all the APIs of Linkbreakers |
7 | 7 | title: Linkbreakers API |
8 | | - version: 1.76.1 |
| 8 | + version: 1.77.1 |
9 | 9 | servers: |
10 | 10 | - url: https://api.linkbreakers.com |
11 | 11 | security: |
@@ -3206,6 +3206,39 @@ paths: |
3206 | 3206 | - Workspaces |
3207 | 3207 | x-accepts: |
3208 | 3208 | - application/json |
| 3209 | + /v1/qrcode-designs/apply-template: |
| 3210 | + post: |
| 3211 | + description: Copy all design settings from a community QR code template to an |
| 3212 | + existing link's QR code design. This replaces the current design with the |
| 3213 | + template's styling. |
| 3214 | + operationId: QrcodeDesignService_ApplyTemplate |
| 3215 | + requestBody: |
| 3216 | + content: |
| 3217 | + application/json: |
| 3218 | + schema: |
| 3219 | + $ref: "#/components/schemas/ApplyQrcodeTemplateRequest" |
| 3220 | + required: true |
| 3221 | + responses: |
| 3222 | + "200": |
| 3223 | + content: |
| 3224 | + application/json: |
| 3225 | + schema: |
| 3226 | + $ref: "#/components/schemas/ApplyQrcodeTemplateResponse" |
| 3227 | + description: Everything worked as expected. |
| 3228 | + default: |
| 3229 | + content: |
| 3230 | + application/json: |
| 3231 | + schema: |
| 3232 | + $ref: "#/components/schemas/ErrorResponse" |
| 3233 | + description: Unexpected error |
| 3234 | + security: |
| 3235 | + - bearerAuth: [] |
| 3236 | + summary: Apply a QR code template to a link |
| 3237 | + tags: |
| 3238 | + - QR Code Designs |
| 3239 | + x-content-type: application/json |
| 3240 | + x-accepts: |
| 3241 | + - application/json |
3209 | 3242 | /v1/qrcode-designs/{id}: |
3210 | 3243 | delete: |
3211 | 3244 | description: Remove a QR code design that is no longer in use by any assets. |
@@ -5064,6 +5097,34 @@ components: |
5064 | 5097 | format: date-time |
5065 | 5098 | type: string |
5066 | 5099 | title: AnalyticsDashboard represents a workspace's analytics dashboard |
| 5100 | + ApplyQrcodeTemplateRequest: |
| 5101 | + description: ApplyQrcodeTemplateRequest applies a community template's design |
| 5102 | + to an existing link's QR code. |
| 5103 | + example: |
| 5104 | + linkId: 550e8400-e29b-41d4-a716-446655440000 |
| 5105 | + templateSlug: google-dinosaur |
| 5106 | + properties: |
| 5107 | + linkId: |
| 5108 | + example: 550e8400-e29b-41d4-a716-446655440000 |
| 5109 | + title: The ID of the link to apply the template to (UUID) |
| 5110 | + type: string |
| 5111 | + templateSlug: |
| 5112 | + example: google-dinosaur |
| 5113 | + title: The slug of the QR code template to apply |
| 5114 | + type: string |
| 5115 | + required: |
| 5116 | + - linkId |
| 5117 | + - templateSlug |
| 5118 | + ApplyQrcodeTemplateResponse: |
| 5119 | + description: ApplyQrcodeTemplateResponse returns the updated QR code design |
| 5120 | + after applying the template. |
| 5121 | + example: |
| 5122 | + qrcodeDesign: "" |
| 5123 | + properties: |
| 5124 | + qrcodeDesign: |
| 5125 | + allOf: |
| 5126 | + - $ref: "#/components/schemas/QrcodeDesign" |
| 5127 | + title: The updated QR code design with the template's styling applied |
5067 | 5128 | AutoLayoutWorkflowResponse: |
5068 | 5129 | example: |
5069 | 5130 | stepsRepositioned: 0 |
|
0 commit comments