Skip to content

Protocol Documentation

Table of Contents

Top

common/resource.proto

ProtoResourceKind

NameNumberDescription
UNKNOWN0
TARGET1
PROMPT2
FIELD3
EXPORT4
AUTHORIZE5
RESPONSE6

Top

feedback-fusion-event-v1/event/batch.proto

ProtoEvent

FieldTypeLabelDescription
created_atgoogle.protobuf.Timestamp
event_typeProtoEventType
resource_modified_eventProtoResourceModifiedEvent

ProtoEventBatch

FieldTypeLabelDescription
eventsProtoEventrepeated

ProtoEventType

NameNumberDescription
UNKNOWN0
RESOURCE_MODIFIED1

Top

feedback-fusion-event-v1/event/resource_modified.proto

ProtoResourceModifiedEvent

FieldTypeLabelDescription
operationProtoResourceModificationOperation
idstring
resource_kindcommon.ProtoResourceKind
databytes
made_bystring

ProtoResourceModificationOperation

NameNumberDescription
CREATE0
UPDATE1
DELETE2
ROLLBACK3

Top

feedback-fusion-event-v1/service.proto

FeedbackFusionIndexerV1

Method NameRequest TypeResponse TypeDescription
SendBatchProtoEventBatch.google.protobuf.Empty

Top

feedback-fusion-v1/audit.proto

AuditVersionPage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
audit_versionsProtoAuditVersionrepeated

GetAuditVersionsRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
resource_idstring
resource_typecommon.ProtoResourceKind

ProtoAuditVersion

FieldTypeLabelDescription
idstring
resource_idstring
resource_typecommon.ProtoResourceKind
actionProtoAuditAction
dataProtoResource
versionint32
created_atgoogle.protobuf.Timestamp
made_byProtoUser

RollbackResourceRequest

FieldTypeLabelDescription
resource_idstring
resource_typecommon.ProtoResourceKind
versionint32

ProtoAuditAction

NameNumberDescription
UNKNOWN0
CREATE1
UPDATE2
DELETE3
ROLLBACK4

Top

feedback-fusion-v1/user.proto

ProtoUser

FieldTypeLabelDescription
idstring
usernamestring

Top

feedback-fusion-v1/export.proto

DataExportRequest

FieldTypeLabelDescription
targetsstringrepeated

DataExportResponse

FieldTypeLabelDescription
exportstring

Top

feedback-fusion-v1/authorization.proto

CreateResourceAuthorizationRequest

FieldTypeLabelDescription
resource_kindcommon.ProtoResourceKind
resource_idstringrepeated
authorization_dataProtoResourceAuthorizationData

DeleteResourceAuthorizationRequest

FieldTypeLabelDescription
idstring

ExportResourceAuthorizationsRequest

FieldTypeLabelDescription
idsstringrepeated

GetResourceAuthorizationRequest

FieldTypeLabelDescription
idstring

GetResourceAuthorizationsRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
valuestringoptional
authorization_typeProtoAuthorizationTypeoptional

ProtoResourceAuthorization

FieldTypeLabelDescription
idstring
resource_kindcommon.ProtoResourceKind
resource_idstringoptional
authorization_typeProtoAuthorizationType
authorization_grantProtoAuthorizationGrant
valuestring
updated_atgoogle.protobuf.Timestamp
created_atgoogle.protobuf.Timestamp

ProtoResourceAuthorizationData

FieldTypeLabelDescription
typeProtoAuthorizationType
grantProtoAuthorizationGrantrepeated
valuesstringrepeated

ResourceAuthorizationExportResponse

FieldTypeLabelDescription
exportstring

ResourceAuthorizationList

FieldTypeLabelDescription
authorizationsProtoResourceAuthorizationrepeated

ResourceAuthorizationPage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
authorizationsProtoResourceAuthorizationrepeated

UpdateResourceAuthorizationRequest

FieldTypeLabelDescription
idstring
resource_idstringoptional
authorization_typeProtoAuthorizationTypeoptional
authorization_grantProtoAuthorizationGrantoptional
valuestringoptional

ProtoAuthorizationGrant

NameNumberDescription
WRITE0
READ1
List2
All3

ProtoAuthorizationType

NameNumberDescription
TYPE_SCOPE0
TYPE_GROUP1
TYPE_SUBJECT2

Top

feedback-fusion-v1/target.proto

CreateTargetRequest

FieldTypeLabelDescription
namestring
descriptionstringoptional

DeleteTargetRequest

FieldTypeLabelDescription
idstring

GetTargetRequest

FieldTypeLabelDescription
idstring

GetTargetsRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
querystring

ProtoTarget

FieldTypeLabelDescription
idstring
namestring
descriptionstringoptional
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp

TargetPage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
targetsProtoTargetrepeated

UpdateTargetRequest

FieldTypeLabelDescription
idstring
namestringoptional
descriptionstringoptional

Top

feedback-fusion-v1/response.proto

CheckboxResponse

FieldTypeLabelDescription
checkedbool

CreateResponsesRequest

FieldTypeLabelDescription
dataCreateResponsesRequest.DataEntryrepeated
promptstring

CreateResponsesRequest.DataEntry

FieldTypeLabelDescription
keystring
valueResponseData

FieldResponseList

FieldTypeLabelDescription
dataProtoFieldResponserepeated

GetResponsesRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
promptstring

NumberResponse

FieldTypeLabelDescription
numberint32

ProtoFieldResponse

FieldTypeLabelDescription
idstring
responsestring
fieldstring
dataResponseData

ProtoPromptResponse

FieldTypeLabelDescription
idstring
promptstring
created_atgoogle.protobuf.Timestamp

RangeResponse

FieldTypeLabelDescription
startint32
endint32

RatingResponse

FieldTypeLabelDescription
ratingint32

ResponseData

FieldTypeLabelDescription
textTextResponse
ratingRatingResponse
checkboxCheckboxResponse
selectionSelectionResponse
rangeRangeResponse
numberNumberResponse

ResponsePage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
dataResponsePage.DataEntryrepeated

ResponsePage.DataEntry

FieldTypeLabelDescription
keystring
valueFieldResponseList

SelectionResponse

FieldTypeLabelDescription
valuesstringrepeated

TextResponse

FieldTypeLabelDescription
textstring

UserInfoResponse

FieldTypeLabelDescription
permissionsUserInfoResponse.PermissionsEntryrepeated

UserInfoResponse.PermissionsEntry

FieldTypeLabelDescription
keystring
valuebool

Top

feedback-fusion-v1/service.proto

FeedbackFusionV1

uses oidc authentication

Method NameRequest TypeResponse TypeDescription
CreateTargetCreateTargetRequestProtoTarget
GetTargetGetTargetRequestProtoTarget
GetTargetsGetTargetsRequestTargetPage
UpdateTargetUpdateTargetRequestProtoTarget
DeleteTargetDeleteTargetRequest.google.protobuf.Empty
CreatePromptCreatePromptRequestProtoPrompt
GetPromptsGetPromptsRequestPromptPage
UpdatePromptUpdatePromptRequestProtoPrompt
DeletePromptDeletePromptRequest.google.protobuf.Empty
CreateFieldCreateFieldRequestProtoField
GetFieldsGetFieldsRequestFieldPage
UpdateFieldUpdateFieldRequestProtoField
DeleteFieldDeleteFieldRequest.google.protobuf.Empty
GetResponsesGetResponsesRequestResponsePage
GetUserInfo.google.protobuf.EmptyUserInfoResponse
ExportDataDataExportRequestDataExportResponse
CreateResourceAuthorizationCreateResourceAuthorizationRequestResourceAuthorizationList
GetResourceAuthorizationsGetResourceAuthorizationsRequestResourceAuthorizationPage
GetResourceAuthorizationGetResourceAuthorizationRequestProtoResourceAuthorization
UpdateResourceAuthorizationUpdateResourceAuthorizationRequestProtoResourceAuthorization
DeleteResourceAuthorizationDeleteResourceAuthorizationRequest.google.protobuf.Empty
ExportResourceAuthorizationsExportResourceAuthorizationsRequestResourceAuthorizationExportResponse
GetAuditVersionsGetAuditVersionsRequestAuditVersionPage
RollbackResourceRollbackResourceRequest.google.protobuf.Empty

PublicFeedbackFusionV1

does not use oidc authentication

Method NameRequest TypeResponse TypeDescription
GetActiveFieldsGetFieldsRequestFieldPage
GetPromptGetPromptRequestProtoPrompt
CreateResponsesCreateResponsesRequestProtoPromptResponse

Top

feedback-fusion-v1/field.proto

CreateFieldRequest

FieldTypeLabelDescription
promptstring
titlestring
descriptionstringoptional
field_typeProtoFieldType
optionsProtoFieldOptions

DeleteFieldRequest

FieldTypeLabelDescription
idstring

FieldPage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
fieldsProtoFieldrepeated

GetFieldsRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
promptstring

ProtoCheckboxOptions

FieldTypeLabelDescription
styleProtoCheckboxStyle
default_statebool

ProtoField

FieldTypeLabelDescription
idstring
promptstring
titlestring
descriptionstringoptional
field_typeProtoFieldType
optionsProtoFieldOptions
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp

ProtoFieldOptions

FieldTypeLabelDescription
textProtoTextOptions
ratingProtoRatingOptions
checkboxProtoCheckboxOptions
selectionProtoSelectionOptions
rangeProtoRangeOptions
numberProtoNumberOptions

ProtoNumberOptions

FieldTypeLabelDescription
minint32
maxint32
placeholderstring

ProtoRangeOptions

FieldTypeLabelDescription
minint32
maxint32

ProtoRatingOptions

FieldTypeLabelDescription
maxint32

ProtoSelectionOptions

FieldTypeLabelDescription
valuesstringrepeated
multiplebool
comboboxbool

ProtoTextOptions

FieldTypeLabelDescription
placeholderstring
linesint32

UpdateFieldRequest

FieldTypeLabelDescription
optionsProtoFieldOptions
titlestringoptional
descriptionstringoptional
idstring

ProtoCheckboxStyle

NameNumberDescription
NORMAL0
SWITCH1

ProtoFieldType

NameNumberDescription
TEXT0
RATING1
CHECKBOX2
SELECTION3
RANGE4
NUMBER5

Top

feedback-fusion-v1/prompt.proto

CreatePromptRequest

FieldTypeLabelDescription
targetstring
titlestring
descriptionstring
activebool

DeletePromptRequest

FieldTypeLabelDescription
idstring

GetPromptRequest

FieldTypeLabelDescription
idstring

GetPromptsRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
targetstring

PromptPage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
promptsProtoPromptrepeated

ProtoPrompt

FieldTypeLabelDescription
idstring
titlestring
descriptionstring
targetstring
activebool
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp

UpdatePromptRequest

FieldTypeLabelDescription
idstring
activebooloptional
descriptionstringoptional
titlestringoptional

Top

feedback-fusion-v1/resource.proto

ProtoResource

FieldTypeLabelDescription
unknowngoogle.protobuf.Empty
targetProtoTarget
promptProtoPrompt
fieldProtoField

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)