|
17361 | 17361 | "description": "Request to create a shortlink.", |
17362 | 17362 | "type": "object", |
17363 | 17363 | "properties": { |
| 17364 | + "password": { |
| 17365 | + "nullable": true, |
| 17366 | + "description": "The password for the shortlink, if you want to restrict access to it. This can only be set if your subscription allows for it. Otherwise, it will return an error. When you access the link it will be required to enter this password through basic auth. The username will be `{anything}` and the password will be the password you set here.", |
| 17367 | + "type": "string" |
| 17368 | + }, |
17364 | 17369 | "restrict_to_org": { |
17365 | 17370 | "description": "If the shortlink should be restricted to the user's organization to view. This only applies to org shortlinks. If you are creating a user shortlink and you are not a member of a team or enterprise and you try to set this to true, it will fail.", |
| 17371 | + "default": false, |
17366 | 17372 | "type": "boolean" |
17367 | 17373 | }, |
17368 | 17374 | "url": { |
|
17372 | 17378 | } |
17373 | 17379 | }, |
17374 | 17380 | "required": [ |
17375 | | - "restrict_to_org", |
17376 | 17381 | "url" |
17377 | 17382 | ] |
17378 | 17383 | }, |
|
21126 | 21131 | } |
21127 | 21132 | ] |
21128 | 21133 | }, |
| 21134 | + "ModelingAppShareLinks": { |
| 21135 | + "description": "The options for sharable links through the modeling app.", |
| 21136 | + "oneOf": [ |
| 21137 | + { |
| 21138 | + "description": "Public.", |
| 21139 | + "type": "string", |
| 21140 | + "enum": [ |
| 21141 | + "public" |
| 21142 | + ] |
| 21143 | + }, |
| 21144 | + { |
| 21145 | + "description": "Password protected.", |
| 21146 | + "type": "string", |
| 21147 | + "enum": [ |
| 21148 | + "password_protected" |
| 21149 | + ] |
| 21150 | + }, |
| 21151 | + { |
| 21152 | + "description": "Organization only. Links can be made only available to members of the organization.", |
| 21153 | + "type": "string", |
| 21154 | + "enum": [ |
| 21155 | + "organization_only" |
| 21156 | + ] |
| 21157 | + } |
| 21158 | + ] |
| 21159 | + }, |
21129 | 21160 | "ModelingAppSubscriptionTier": { |
21130 | 21161 | "description": "A subscription tier we offer for the Modeling App.", |
21131 | 21162 | "type": "object", |
|
21165 | 21196 | } |
21166 | 21197 | ] |
21167 | 21198 | }, |
| 21199 | + "share_links": { |
| 21200 | + "description": "The options for sharable links through the modeling app.", |
| 21201 | + "type": "array", |
| 21202 | + "items": { |
| 21203 | + "$ref": "#/components/schemas/ModelingAppShareLinks" |
| 21204 | + } |
| 21205 | + }, |
21168 | 21206 | "support_tier": { |
21169 | 21207 | "description": "The support tier the subscription provides.", |
21170 | 21208 | "allOf": [ |
|
31642 | 31680 | "description": "Request to update a shortlink.", |
31643 | 31681 | "type": "object", |
31644 | 31682 | "properties": { |
| 31683 | + "password": { |
| 31684 | + "nullable": true, |
| 31685 | + "description": "The password for the shortlink, if you want to restrict access to it. This can only be set if your subscription allows for it. Otherwise, it will return an error. When you access the link it will be required to enter this password through basic auth. The username will be `{anything}` and the password will be the password you set here.", |
| 31686 | + "type": "string" |
| 31687 | + }, |
31645 | 31688 | "restrict_to_org": { |
31646 | 31689 | "description": "If the shortlink should be restricted to the user's organization to view. This only applies to org shortlinks. If you are creating a user shortlink and you are not a member of a team or enterprise and you try to set this to true, it will fail.", |
31647 | 31690 | "type": "boolean" |
|
32273 | 32316 | } |
32274 | 32317 | ] |
32275 | 32318 | }, |
| 32319 | + "share_links": { |
| 32320 | + "description": "The options for sharable links through the modeling app.", |
| 32321 | + "type": "array", |
| 32322 | + "items": { |
| 32323 | + "$ref": "#/components/schemas/ModelingAppShareLinks" |
| 32324 | + } |
| 32325 | + }, |
32276 | 32326 | "support_tier": { |
32277 | 32327 | "description": "The support tier the subscription provides.", |
32278 | 32328 | "allOf": [ |
|
0 commit comments