UpdateFeatureView

更新时间:
复制 MD 格式

Updates a feature view.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

PUT /api/v1/instances/{InstanceId}/featureviews/{FeatureViewId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID. You can obtain the instance ID by calling the ListInstances operation.

fs-cn-********

FeatureViewId

string

Yes

The feature view ID. You can obtain the feature view ID by calling the ListFeatureViews operation.

3

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

The request body.

Fields

array<object>

Yes

A list of fields.

array<object>

No

A field object.

Name

string

Yes

The name of the field.

user_id

Type

string

Yes

The data type of the field.

INT32

Attributes

array

Yes

A list of field attributes. Valid values:

  • Partition: Indicates that the field is a partition field.

  • PrimaryKey: Indicates that the field is a primary key.

  • EventTime: Indicates that the field is the event time.

string

No

A field attribute.

Partition

Transform

array<object>

No

The feature generation configuration.

array<object>

No

A feature generation configuration object.

Type

string

Yes

The type of feature generation.

LLMEmbedding

LLMConfigId

integer

Yes

The ID of the LLM configuration.

1

Input

array<object>

Yes

The input fields.

object

No

An input field.

Name

string

Yes

The name of the input field.

f1

Type

string

Yes

The data type of the input field.

STRING

Modality

string

No

The modality of the input, such as text or image.

NONE

Response elements

Element

Type

Description

Example

object

The response for a successful request.

requestId

string

The request ID.

7D497816-607C-5B67-97B1-61354B6ACB2B

Examples

Success response

JSON format

{
  "requestId": "7D497816-607C-5B67-97B1-61354B6ACB2B"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.