Insert record/records into record collection
post
/gsdata/v1/{appName}/data/{recordCollection}
Insert records into the specified record collection. If record with the same id already exist in the collection it will be overwritten. Users must not manipulate system created record collections, eg records in /cloud/data/catalog, as these changes would be overridden on the next catalog indexing event.
Request
Supported Media Types
- application/json
Path Parameters
-
appName: string
Specifies the name of your application. For example, "cloud".
-
recordCollection: string
Name of the record collection. A valid record collection name is defined by the regular expression "^[a-zA-Z0-9._-]+$" and cannot exceed 128 characters.
Represents a list of guided search records.
Nested Schema : items
Type:
Show Source
array
-
Array of:
object RecordItem
Represents a record from a Guided Search record collection. As well as the properties listed below a record will also have 1 or more additional properties.
Nested Schema : links
Type:
Show Source
array
-
Array of:
object Link
Represents a link to a gsdata resource.
Nested Schema : RecordItem
Type:
object
Represents a record from a Guided Search record collection. As well as the properties listed below a record will also have 1 or more additional properties.
Show Source
-
record.action(optional):
string
Allowed Values:
[ "upsert", "delete" ]
-
record.collection(optional):
string
-
record.id(optional):
string
-
record.locale(optional):
string
-
record.urn(optional):
string
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
201 Response
POST request was successful.
Root Schema : PostRecordsResponse
Type:
object
Represents the response received from a POST request to insert records into record collection.
Show Source
-
importRecordsStatus(optional):
object ImportRecordsStatus
Represents a status of records being imported by this POST request.
-
importRecordsSummary(optional):
object ImportRecordsSummary
Represents a summary of records imported by this POST request.
-
links(optional):
array links
-
status(optional):
integer
-
title(optional):
string
Nested Schema : ImportRecordsStatus
Type:
object
Represents a status of records being imported by this POST request.
Show Source
Nested Schema : ImportRecordsSummary
Type:
object
Represents a summary of records imported by this POST request.
Show Source
Nested Schema : links
Type:
Show Source
array
-
Array of:
object Link
Represents a link to a gsdata resource.