@celigo/api-specs 0.2.152 → 0.2.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-agent.yml +58 -11
- package/dist/api.yml +21 -11
- package/dist/asynchelper.yml +58 -11
- package/dist/connection.yml +78 -22
- package/dist/enduser.yml +21 -11
- package/dist/export.yml +58 -11
- package/dist/guardrail.yml +1 -1
- package/dist/iclient.yml +10 -124
- package/dist/import.yml +91 -23
- package/dist/mcp-server.yml +21 -11
- package/dist/tool.yml +112 -34
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/enduser.yml
CHANGED
|
@@ -2200,7 +2200,7 @@ components:
|
|
|
2200
2200
|
connection's traffic counts against the referenced connection's limit instead of its own,
|
|
2201
2201
|
and its own concurrency and auto-recovery settings have no effect. One level only: the
|
|
2202
2202
|
referenced connection may not itself borrow, and a connection that others borrow from
|
|
2203
|
-
cannot start borrowing.
|
|
2203
|
+
cannot start borrowing. A connection cannot reference itself (422).
|
|
2204
2204
|
examples:
|
|
2205
2205
|
- 615dfa0742763671275b70ab
|
|
2206
2206
|
x-celigo-ai-guidance:
|
|
@@ -2237,16 +2237,21 @@ components:
|
|
|
2237
2237
|
type: boolean
|
|
2238
2238
|
description: |-
|
|
2239
2239
|
When true, the connection has been taken offline and is skipped during flow execution.
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
read it again a few
|
|
2240
|
+
It is set by the connection test a create or `PUT` runs: the result arrives in the
|
|
2241
|
+
write's response or, when the target is slow to answer, shortly afterwards (the audit
|
|
2242
|
+
log records a `system` change; `lastModified` doesn't move), so read it again a few
|
|
2243
|
+
seconds after the write. On an `http` connection the write runs the test only when
|
|
2244
|
+
`http.ping` is configured, and an `http` connection that was never tested has no
|
|
2245
|
+
`offline` key.
|
|
2243
2246
|
readOnly: true
|
|
2244
2247
|
needsAuthorization:
|
|
2245
2248
|
type: boolean
|
|
2246
2249
|
readOnly: true
|
|
2247
2250
|
description: |-
|
|
2248
2251
|
OAuth handshake state. Celigo's OAuth callback sets it to `false` once the user consents
|
|
2249
|
-
and the tokens are stored (see `GET /v1/connection/{_id}/oauth2`).
|
|
2252
|
+
and the tokens are stored (see `GET /v1/connection/{_id}/oauth2`). A connection that
|
|
2253
|
+
was never authorized usually has no `needsAuthorization` key, so its absence does not
|
|
2254
|
+
mean the connection is authorized.
|
|
2250
2255
|
_sourceId:
|
|
2251
2256
|
type: string
|
|
2252
2257
|
format: objectId
|
|
@@ -3221,15 +3226,18 @@ components:
|
|
|
3221
3226
|
clientId:
|
|
3222
3227
|
type: string
|
|
3223
3228
|
description: |
|
|
3224
|
-
OAuth client ID (application ID) registered with the API provider.
|
|
3225
|
-
|
|
3229
|
+
OAuth client ID (application ID) registered with the API provider. An `http`
|
|
3230
|
+
connection takes the app from a `custom_oauth2` iClient referenced by `http._iClientId`
|
|
3231
|
+
(an `mcp` connection from `mcp.http._iClientId`) and doesn't store this field: a create
|
|
3232
|
+
that sends `clientId` and `clientSecret` here answers 201 without either (and stores
|
|
3233
|
+
`useIClientFields: true` unless `false` is sent).
|
|
3226
3234
|
examples:
|
|
3227
3235
|
- 0oa1b2c3d4EXAMPLE5
|
|
3228
3236
|
clientSecret:
|
|
3229
3237
|
type: string
|
|
3230
3238
|
description: |
|
|
3231
|
-
OAuth client secret (encrypted at rest).
|
|
3232
|
-
|
|
3239
|
+
OAuth client secret (encrypted at rest). Not stored on an `http` connection: the secret
|
|
3240
|
+
belongs on the iClient (see `clientId`).
|
|
3233
3241
|
writeOnly: true
|
|
3234
3242
|
examples:
|
|
3235
3243
|
- cs_abc123EXAMPLE456secret
|
|
@@ -3445,9 +3453,11 @@ components:
|
|
|
3445
3453
|
- "authorizecode" — Authorization Code flow (browser-based user consent).
|
|
3446
3454
|
Requires authURI, tokenURI, and user authorization via browser.
|
|
3447
3455
|
- "clientcredentials" — Client Credentials flow (server-to-server, no user).
|
|
3448
|
-
Requires tokenURI
|
|
3456
|
+
Requires tokenURI.
|
|
3449
3457
|
- "password" — Resource Owner Password flow (username/password exchange).
|
|
3450
|
-
Requires tokenURI, username, password
|
|
3458
|
+
Requires tokenURI, username, password.
|
|
3459
|
+
- On an `http` connection the client ID and secret are never stored here: a
|
|
3460
|
+
`custom_oauth2` iClient referenced by `http._iClientId` supplies them.
|
|
3451
3461
|
JWT:
|
|
3452
3462
|
type: object
|
|
3453
3463
|
description: |-
|
package/dist/export.yml
CHANGED
|
@@ -12518,6 +12518,12 @@ components:
|
|
|
12518
12518
|
- Examples: '$.customer.firstName', '$.items[0].price', '$.addresses[*].street',
|
|
12519
12519
|
'$[*].Tax' (every row of a grouped record)
|
|
12520
12520
|
- Wildcards like [*] extract multiple values/objects
|
|
12521
|
+
- A key that contains a dot needs bracket notation: `$['P.O. Number']` (or
|
|
12522
|
+
`$["P.O. Number"]`, `$.[P.O. Number]`). `$.P.O. Number` is read as a nested
|
|
12523
|
+
path: it maps nothing and the record still succeeds. Spaces, hyphens and `#`
|
|
12524
|
+
need no brackets (`$.Ship To Name`, `$.Tracking #`)
|
|
12525
|
+
- Filter expressions such as `$.items[?(@.active)]` fail the record with
|
|
12526
|
+
"Eval [?(expr)] prevented in JSONPath expression."
|
|
12521
12527
|
|
|
12522
12528
|
```json
|
|
12523
12529
|
"extract": "$.customer.addresses[*]" // Extracts all addresses
|
|
@@ -12706,6 +12712,12 @@ components:
|
|
|
12706
12712
|
**Usage**
|
|
12707
12713
|
|
|
12708
12714
|
The lookupName refers to a named lookup defined in the lookups array of the same resource.
|
|
12715
|
+
On an HTTP import that is `http.lookups`: a `lookups` array sent only at the top level
|
|
12716
|
+
is dropped on save. On an import, a name that matches no lookup fails every record
|
|
12717
|
+
with "Unable to find lookup in mapping configs - <name>", and a key the lookup
|
|
12718
|
+
doesn't hold follows the lookup's `allowFailures`: false fails the record; true, or
|
|
12719
|
+
the field left out, lets the record succeed with the lookup's `default`, or without
|
|
12720
|
+
the mapped field when there is none.
|
|
12709
12721
|
|
|
12710
12722
|
```json
|
|
12711
12723
|
{
|
|
@@ -13043,6 +13055,11 @@ components:
|
|
|
13043
13055
|
The system creates special composite objects during processing to maintain
|
|
13044
13056
|
hierarchical relationships, allowing easy access to both the current array item
|
|
13045
13057
|
and its parent contexts.
|
|
13058
|
+
|
|
13059
|
+
An iterating entry keeps the `[*]`: `$.line_items` without it yields one empty
|
|
13060
|
+
element per item, with no error. Child extracts drop the `[*]` but keep the
|
|
13061
|
+
array's path (`$.line_items.sku`); `$.line_items[*].sku` maps nothing, and an
|
|
13062
|
+
element-relative `$.sku` reads the record root instead of the element.
|
|
13046
13063
|
examples:
|
|
13047
13064
|
- $.items[*]
|
|
13048
13065
|
- $.order.lineItems[*]
|
|
@@ -13254,14 +13271,17 @@ components:
|
|
|
13254
13271
|
type: string
|
|
13255
13272
|
description: |
|
|
13256
13273
|
**Purpose**
|
|
13257
|
-
|
|
13274
|
+
Controls whether the mapping is applied. Send it on every mapping entry.
|
|
13258
13275
|
|
|
13259
13276
|
**Guidance**
|
|
13260
13277
|
Only `Active` rows run. `Draft` and `Inactive` rows keep their
|
|
13261
13278
|
configuration, are saved with minimal validation, and are skipped at
|
|
13262
13279
|
runtime and in preview; a non-Active parent skips its whole subtree
|
|
13263
|
-
whatever its children say.
|
|
13264
|
-
|
|
13280
|
+
whatever its children say. Imports (on save and in the mapper processor)
|
|
13281
|
+
and API response mappings reject a row missing this field (validation
|
|
13282
|
+
error: "Mapping object must have status field present."); a Tool's
|
|
13283
|
+
output mapping saves and runs one, which is why `required` doesn't
|
|
13284
|
+
list it.
|
|
13265
13285
|
x-celigo-ai-guidance:
|
|
13266
13286
|
- |-
|
|
13267
13287
|
Emit `"Active"` for mappings that should run; `"Draft"` is also
|
|
@@ -13584,6 +13604,12 @@ components:
|
|
|
13584
13604
|
- Examples: '$.customer.firstName', '$.items[0].price', '$.addresses[*].street',
|
|
13585
13605
|
'$[*].Tax' (every row of a grouped record)
|
|
13586
13606
|
- Wildcards like [*] extract multiple values/objects
|
|
13607
|
+
- A key that contains a dot needs bracket notation: `$['P.O. Number']` (or
|
|
13608
|
+
`$["P.O. Number"]`, `$.[P.O. Number]`). `$.P.O. Number` is read as a nested
|
|
13609
|
+
path: it maps nothing and the record still succeeds. Spaces, hyphens and `#`
|
|
13610
|
+
need no brackets (`$.Ship To Name`, `$.Tracking #`)
|
|
13611
|
+
- Filter expressions such as `$.items[?(@.active)]` fail the record with
|
|
13612
|
+
"Eval [?(expr)] prevented in JSONPath expression."
|
|
13587
13613
|
|
|
13588
13614
|
```json
|
|
13589
13615
|
"extract": "$.customer.addresses[*]" // Extracts all addresses
|
|
@@ -13772,6 +13798,12 @@ components:
|
|
|
13772
13798
|
**Usage**
|
|
13773
13799
|
|
|
13774
13800
|
The lookupName refers to a named lookup defined in the lookups array of the same resource.
|
|
13801
|
+
On an HTTP import that is `http.lookups`: a `lookups` array sent only at the top level
|
|
13802
|
+
is dropped on save. On an import, a name that matches no lookup fails every record
|
|
13803
|
+
with "Unable to find lookup in mapping configs - <name>", and a key the lookup
|
|
13804
|
+
doesn't hold follows the lookup's `allowFailures`: false fails the record; true, or
|
|
13805
|
+
the field left out, lets the record succeed with the lookup's `default`, or without
|
|
13806
|
+
the mapped field when there is none.
|
|
13775
13807
|
|
|
13776
13808
|
```json
|
|
13777
13809
|
{
|
|
@@ -14109,6 +14141,11 @@ components:
|
|
|
14109
14141
|
The system creates special composite objects during processing to maintain
|
|
14110
14142
|
hierarchical relationships, allowing easy access to both the current array item
|
|
14111
14143
|
and its parent contexts.
|
|
14144
|
+
|
|
14145
|
+
An iterating entry keeps the `[*]`: `$.line_items` without it yields one empty
|
|
14146
|
+
element per item, with no error. Child extracts drop the `[*]` but keep the
|
|
14147
|
+
array's path (`$.line_items.sku`); `$.line_items[*].sku` maps nothing, and an
|
|
14148
|
+
element-relative `$.sku` reads the record root instead of the element.
|
|
14112
14149
|
examples:
|
|
14113
14150
|
- $.items[*]
|
|
14114
14151
|
- $.order.lineItems[*]
|
|
@@ -14320,14 +14357,17 @@ components:
|
|
|
14320
14357
|
type: string
|
|
14321
14358
|
description: |
|
|
14322
14359
|
**Purpose**
|
|
14323
|
-
|
|
14360
|
+
Controls whether the mapping is applied. Send it on every mapping entry.
|
|
14324
14361
|
|
|
14325
14362
|
**Guidance**
|
|
14326
14363
|
Only `Active` rows run. `Draft` and `Inactive` rows keep their
|
|
14327
14364
|
configuration, are saved with minimal validation, and are skipped at
|
|
14328
14365
|
runtime and in preview; a non-Active parent skips its whole subtree
|
|
14329
|
-
whatever its children say.
|
|
14330
|
-
|
|
14366
|
+
whatever its children say. Imports (on save and in the mapper processor)
|
|
14367
|
+
and API response mappings reject a row missing this field (validation
|
|
14368
|
+
error: "Mapping object must have status field present."); a Tool's
|
|
14369
|
+
output mapping saves and runs one, which is why `required` doesn't
|
|
14370
|
+
list it.
|
|
14331
14371
|
x-celigo-ai-guidance:
|
|
14332
14372
|
- |-
|
|
14333
14373
|
Emit `"Active"` for mappings that should run; `"Draft"` is also
|
|
@@ -14698,8 +14738,8 @@ components:
|
|
|
14698
14738
|
- Original value indicators: "{Original Value}", "No mapping found"
|
|
14699
14739
|
- Neutral values: "Other", "N/A", "Miscellaneous"
|
|
14700
14740
|
|
|
14701
|
-
If allowFailures is false
|
|
14702
|
-
|
|
14741
|
+
If allowFailures is false, a record whose value is unmapped fails and the default
|
|
14742
|
+
is ignored.
|
|
14703
14743
|
examples:
|
|
14704
14744
|
- Unknown
|
|
14705
14745
|
- Other
|
|
@@ -14720,7 +14760,11 @@ components:
|
|
|
14720
14760
|
This field determines how the system handles source values that don't exist in the map:
|
|
14721
14761
|
|
|
14722
14762
|
- true: Use the default value for missing mappings and continue processing
|
|
14723
|
-
- false: Treat missing mappings as errors, failing the record
|
|
14763
|
+
- false: Treat missing mappings as errors, failing the record (`lookup_error` for a
|
|
14764
|
+
static map, `lookupcache_evaluation_failed` for a lookup cache)
|
|
14765
|
+
- omitted or null: the record doesn't fail either. On an import a static lookup writes
|
|
14766
|
+
its default if it has one, and a static or cache lookup without one leaves the
|
|
14767
|
+
mapped field out of the output, with no error
|
|
14724
14768
|
|
|
14725
14769
|
**Recommendation**
|
|
14726
14770
|
|
|
@@ -14734,11 +14778,14 @@ components:
|
|
|
14734
14778
|
- All possible source values are known and controlled
|
|
14735
14779
|
- Missing mappings indicate serious data problems that should be addressed
|
|
14736
14780
|
|
|
14737
|
-
|
|
14738
|
-
|
|
14781
|
+
A default raises no error: records that miss go out with the default value and
|
|
14782
|
+
nothing reports them. Use true only when that fallback is acceptable at the
|
|
14783
|
+
destination, and set false explicitly when a missing value must stop the record.
|
|
14739
14784
|
examples:
|
|
14740
14785
|
- true
|
|
14741
14786
|
- false
|
|
14787
|
+
x-celigo-ai-guidance:
|
|
14788
|
+
- 'Never leave this field out to mean "fail on a miss": on an import, an omitted or null value lets a missing key through without an error (with the default, or without the mapped field when there is none). Only an explicit false fails the record.'
|
|
14742
14789
|
Transform:
|
|
14743
14790
|
type: object
|
|
14744
14791
|
description: |
|
package/dist/guardrail.yml
CHANGED
|
@@ -1985,7 +1985,7 @@ components:
|
|
|
1985
1985
|
description: When true, the mapped value cannot be overwritten by later mapping steps.
|
|
1986
1986
|
lookupName:
|
|
1987
1987
|
type: string
|
|
1988
|
-
description: Name of an entry in the import's `lookups` array used to translate the value.
|
|
1988
|
+
description: Name of an entry in the import's `lookups` array (`http.lookups` on an HTTP import) used to translate the value.
|
|
1989
1989
|
x-celigo-ai-guidance:
|
|
1990
1990
|
- |-
|
|
1991
1991
|
Name of a lookup defined on ``resource.lookups`` whose result
|
package/dist/iclient.yml
CHANGED
|
@@ -491,6 +491,8 @@ paths:
|
|
|
491
491
|
Permanently deletes an iClient. Blocked while any connection references
|
|
492
492
|
it, including a deleted connection still in the recycle bin: purge that
|
|
493
493
|
connection with `DELETE /v1/recycleBinTTL/connections/{_id}` first.
|
|
494
|
+
`GET /v1/iclients/{_id}/dependencies` doesn't list a binned connection,
|
|
495
|
+
so an empty dependency list doesn't mean the delete will succeed.
|
|
494
496
|
operationId: deleteIClient
|
|
495
497
|
tags:
|
|
496
498
|
- iClients
|
|
@@ -1623,68 +1625,12 @@ components:
|
|
|
1623
1625
|
endpoint response body.
|
|
1624
1626
|
x-celigo-ai-guidance:
|
|
1625
1627
|
- |-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
- Used during the token exchange phase after obtaining an authorization code or other grant types.
|
|
1630
|
-
- Typically combined with the authorization server's base URL to form the complete token endpoint URL.
|
|
1631
|
-
- |-
|
|
1632
|
-
Specifies the relative URL path on the OAuth2 authorization server where the
|
|
1633
|
-
access token request should be sent.
|
|
1634
|
-
This path is appended to the base URL of the authorization server to form the
|
|
1635
|
-
full endpoint for obtaining an access token during the OAuth2 authentication
|
|
1636
|
-
flow.
|
|
1637
|
-
It is essential for enabling clients to exchange authorization grants for access
|
|
1638
|
-
tokens securely.
|
|
1639
|
-
- |-
|
|
1640
|
-
## IMPORTANT NOTES:
|
|
1641
|
-
- This path is critical for the OAuth2 token exchange process; incorrect configuration will prevent successful authentication.
|
|
1642
|
-
- It should not include the full URL, only the path component.
|
|
1643
|
-
- Must align with the OAuth2 server's documentation to ensure interoperability.
|
|
1644
|
-
- Often used in conjunction with other OAuth2 properties like client ID, client secret, and authorization path.
|
|
1645
|
-
- |-
|
|
1646
|
-
## DEPENDENCY CHAIN:
|
|
1647
|
-
- Depends on the base URL of the OAuth2 authorization server.
|
|
1648
|
-
- Used alongside authorizationPath and other OAuth2 configuration properties.
|
|
1649
|
-
- Integral to the OAuth2 token grant process.
|
|
1650
|
-
- |-
|
|
1651
|
-
## EXAMPLES:
|
|
1652
|
-
- /oauth2/token
|
|
1653
|
-
- /api/v1/access_token
|
|
1654
|
-
- /auth/token
|
|
1655
|
-
- |-
|
|
1656
|
-
## IMPLEMENTATION GUIDANCE:
|
|
1657
|
-
- Ensure the path corresponds exactly to the OAuth2 server's token endpoint specification.
|
|
1658
|
-
- Validate that the path is correctly formatted and accessible.
|
|
1659
|
-
- Avoid including query parameters or fragments in this path; it should be a clean URL path.
|
|
1660
|
-
- Confirm compatibility with the OAuth2 server's expected token endpoint URL structure.
|
|
1661
|
-
- |-
|
|
1662
|
-
## TECHNICAL DETAILS:
|
|
1663
|
-
- Expected to be a URI path string.
|
|
1664
|
-
- Should begin with a forward slash (/).
|
|
1665
|
-
- Combined with the OAuth2 server's base URL to form the full token endpoint URI.
|
|
1666
|
-
- Utilized in HTTP POST requests to obtain access tokens.
|
|
1667
|
-
- |-
|
|
1668
|
-
Specifies the relative URL path on the OAuth2 authorization server where the
|
|
1669
|
-
access token request should be sent.
|
|
1670
|
-
This path is appended to the base URL of the authorization server to form the
|
|
1671
|
-
full endpoint for obtaining an access token during the OAuth2 authentication
|
|
1672
|
-
flow.
|
|
1673
|
-
It is essential for enabling clients to exchange authorization grants for access
|
|
1674
|
-
tokens securely.
|
|
1675
|
-
- |-
|
|
1676
|
-
Specifies the relative URL path on the OAuth2 authorization server where the
|
|
1677
|
-
access token request should be sent.
|
|
1678
|
-
This path is appended to the base URL of the authorization server to form the
|
|
1679
|
-
full endpoint for obtaining an access token during the OAuth2 authentication
|
|
1680
|
-
flow.
|
|
1681
|
-
It is essential for enabling clients to exchange authorization grants for access
|
|
1682
|
-
tokens securely.
|
|
1628
|
+
A path into the token endpoint's JSON response — `access_token`, or
|
|
1629
|
+
`data.access_token` when the provider nests it — never a URL or an endpoint path.
|
|
1630
|
+
The token endpoint itself is `token.uri`.
|
|
1683
1631
|
examples:
|
|
1684
1632
|
- access_token
|
|
1685
|
-
-
|
|
1686
|
-
- /api/v1/access_token
|
|
1687
|
-
- /auth/token
|
|
1633
|
+
- data.access_token
|
|
1688
1634
|
refreshTokenPath:
|
|
1689
1635
|
type: string
|
|
1690
1636
|
description: |-
|
|
@@ -1692,72 +1638,12 @@ components:
|
|
|
1692
1638
|
endpoint response body.
|
|
1693
1639
|
x-celigo-ai-guidance:
|
|
1694
1640
|
- |-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
- Not all OAuth 2.0 providers support refresh tokens; verify compatibility.
|
|
1699
|
-
- The endpoint must support secure communication protocols (e.g., HTTPS).
|
|
1700
|
-
- |-
|
|
1701
|
-
## EXAMPLES:
|
|
1702
|
-
- "/oauth2/token/refresh"
|
|
1703
|
-
- "https://auth.example.com/oauth2/token"
|
|
1704
|
-
- "/api/v1/auth/refresh-token"
|
|
1705
|
-
- |-
|
|
1706
|
-
## DEPENDENCY CHAIN:
|
|
1707
|
-
- Depends on the existence of a valid refresh token issued during initial authentication.
|
|
1708
|
-
- Works in conjunction with the access token and client credentials.
|
|
1709
|
-
- Related to the OAuth 2.0 token endpoint configuration.
|
|
1710
|
-
- |-
|
|
1711
|
-
The relative or absolute URL path used to request a refresh token from the OAuth
|
|
1712
|
-
2.0 authorization server.
|
|
1713
|
-
This endpoint is typically called when the current access token has expired or
|
|
1714
|
-
is about to expire,
|
|
1715
|
-
allowing the client to obtain a new access token without requiring the user to re-authenticate.
|
|
1716
|
-
The path should conform to the OAuth 2.0 specification for token refresh
|
|
1717
|
-
requests and support the necessary HTTP methods,
|
|
1718
|
-
usually POST.
|
|
1719
|
-
- |-
|
|
1720
|
-
## TECHNICAL DETAILS:
|
|
1721
|
-
- Typically uses the HTTP POST method with form-encoded parameters.
|
|
1722
|
-
- Requires parameters such as grant_type=refresh_token and the refresh_token itself.
|
|
1723
|
-
- Responses include a new access token and optionally a new refresh token.
|
|
1724
|
-
- Must handle scopes and token expiration as per OAuth 2.0 standards.
|
|
1725
|
-
- |-
|
|
1726
|
-
## IMPLEMENTATION GUIDANCE:
|
|
1727
|
-
- Ensure the path is correctly formatted as a relative or absolute URL.
|
|
1728
|
-
- Confirm that the authorization server supports refresh token requests at this endpoint.
|
|
1729
|
-
- Secure the endpoint with appropriate authentication and authorization measures.
|
|
1730
|
-
- Validate that the client credentials and refresh token are correctly handled during the request.
|
|
1731
|
-
- Handle error responses gracefully, such as invalid or expired refresh tokens.
|
|
1732
|
-
- |-
|
|
1733
|
-
## FIELD BEHAVIOR:
|
|
1734
|
-
- Specifies the endpoint for refreshing OAuth 2.0 access tokens.
|
|
1735
|
-
- Used by the client application to maintain authenticated sessions seamlessly.
|
|
1736
|
-
- Invoked automatically by the client when the access token expires or is near expiration.
|
|
1737
|
-
- Must be accessible and correctly configured on the authorization server.
|
|
1738
|
-
- |-
|
|
1739
|
-
The relative or absolute URL path used to request a refresh token from the OAuth
|
|
1740
|
-
2.0 authorization server.
|
|
1741
|
-
This endpoint is typically called when the current access token has expired or
|
|
1742
|
-
is about to expire,
|
|
1743
|
-
allowing the client to obtain a new access token without requiring the user to re-authenticate.
|
|
1744
|
-
The path should conform to the OAuth 2.0 specification for token refresh
|
|
1745
|
-
requests and support the necessary HTTP methods,
|
|
1746
|
-
usually POST.
|
|
1747
|
-
- |-
|
|
1748
|
-
The relative or absolute URL path used to request a refresh token from the OAuth
|
|
1749
|
-
2.0 authorization server.
|
|
1750
|
-
This endpoint is typically called when the current access token has expired or
|
|
1751
|
-
is about to expire,
|
|
1752
|
-
allowing the client to obtain a new access token without requiring the user to re-authenticate.
|
|
1753
|
-
The path should conform to the OAuth 2.0 specification for token refresh
|
|
1754
|
-
requests and support the necessary HTTP methods,
|
|
1755
|
-
usually POST.
|
|
1641
|
+
A path into the token endpoint's JSON response — `refresh_token`, or
|
|
1642
|
+
`data.refresh_token` when the provider nests it — never a URL or an endpoint path.
|
|
1643
|
+
The refresh endpoint itself is `refresh.uri`.
|
|
1756
1644
|
examples:
|
|
1757
1645
|
- refresh_token
|
|
1758
|
-
-
|
|
1759
|
-
- https://auth.example.com/oauth2/token
|
|
1760
|
-
- /api/v1/auth/refresh-token
|
|
1646
|
+
- data.refresh_token
|
|
1761
1647
|
scheme:
|
|
1762
1648
|
type: string
|
|
1763
1649
|
description: Authorization scheme prefix (e.g. `Bearer`, `Basic`).
|