Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit a6548cd

Browse files
committed
Rename 202 uid to taskUid
1 parent dc6cc4d commit a6548cd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

open-api.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -765,9 +765,9 @@ components:
765765
schema:
766766
type: object
767767
properties:
768-
uid:
768+
taskUid:
769769
type: number
770-
description: 'This `uid` allows you to [track the current task](https://docs.meilisearch.com/reference/api/tasks.html).'
770+
description: 'This `taskUid` allows you to [track the current task](https://docs.meilisearch.com/reference/api/tasks.html).'
771771
indexUid:
772772
type: string
773773
description: The unique identifier of the index where this task is operated
@@ -787,7 +787,7 @@ components:
787787
examples:
788788
Example:
789789
value:
790-
uid: 0
790+
taskUid: 0
791791
indexUid: movies
792792
status: enqueued
793793
enqueuedAt: '2021-07-19T14:31:16.920473Z'

text/0060-tasks-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The motivation is to stabilize the current `update` resource to a version that c
7575

7676
| field | type | description |
7777
|------------|---------|---------------------------------|
78-
| uid | integer | Unique sequential identifier |
78+
| taskUid | integer | Unique sequential identifier |
7979
| indexUid | string | Unique index identifier |
8080
| status | string | Status of the task. Value is `enqueued` |
8181
| enqueuedAt | string | Represent the date and time as `RFC 3339` format when the task has been enqueued |
@@ -293,7 +293,7 @@ e.g. A summarized `task` object in a `202 Accepted` HTTP response returned at in
293293

294294
```json
295295
{
296-
"uid": 0,
296+
"taskUid": 0,
297297
"indexUid": "movies",
298298
"status": "enqueued",
299299
"type": "createIndex",
@@ -524,7 +524,7 @@ New task types are also added for these operations. `indexCreation`, `indexUpdat
524524

525525
```json
526526
{
527-
"uid": 0,
527+
"taskUid": 0,
528528
"indexUid": "movies",
529529
"status": "enqueued",
530530
"type": "indexCreation",
@@ -546,7 +546,7 @@ New task types are also added for these operations. `indexCreation`, `indexUpdat
546546

547547
```json
548548
{
549-
"uid": 1,
549+
"taskUid": 1,
550550
"indexUid": "movies",
551551
"status": "enqueued",
552552
"type": "indexUpdate",
@@ -560,7 +560,7 @@ New task types are also added for these operations. `indexCreation`, `indexUpdat
560560

561561
```json
562562
{
563-
"uid": 1,
563+
"taskUid": 1,
564564
"indexUid": "movies",
565565
"status": "enqueued",
566566
"type": "indexDeletion",

0 commit comments

Comments
 (0)