forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(log/docs): improve error log, docs (datahub-project#7239)
- Loading branch information
1 parent
2ca8095
commit 446fddc
Showing
5 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Restore Indices Endpoint | ||
|
||
You can do a HTTP POST request to `/gms/aspects?action=restoreIndices` endpoint with the `urn` as part of JSON Payload to restore indices for the particular URN. | ||
|
||
``` | ||
curl --location --request POST 'https://demo.datahubproject.io/api/gms/aspects?action=restoreIndices' \ | ||
--header 'Authorization: Bearer TOKEN' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"urn": "YOUR_URN" | ||
}' | ||
``` | ||
|
||
The supported parameters are | ||
- `urn` - Optionl URN string | ||
- `aspect` - Optional Aspect string | ||
- `urnLike` - Optional string regex to match URNs | ||
- `start` - Optional integer to decide which rows number of sql store to restore | ||
- `batchSize` - Optional integer to decide how many rows to restore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters