Skip to content

[Backport 8.x] Add failure_store enum to bulk responses #3733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 43 additions & 10 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions specification/_global/bulk/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class ResponseItem {
* The HTTP status code returned for the operation.
*/
status: integer
failure_store?: FailureStoreStatus
/**
* Additional information about the failed operation.
* The property is returned only for failed operations.
Expand Down Expand Up @@ -82,6 +83,13 @@ export class ResponseItem {
get?: InlineGet<Dictionary<string, UserDefinedValue>>
}

export enum FailureStoreStatus {
not_applicable_or_unknown,
used,
not_enabled,
failed
}

export enum OperationType {
index,
create,
Expand Down