mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-09 01:35:26 +00:00
19 lines
720 B
Markdown
19 lines
720 B
Markdown
![]() |
# 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
|