Skip to main content

face.proto

path kilroy/face/v1alpha/face.proto

package kilroy.face.v1alpha

Definitions for face service.


Messages

GetConfigRequest

Request for GetConfig.

NameTypeDescription

GetConfigResponse

Response from GetConfig.

NameTypeDescription
configstringThe config of the face as a JSON string.

GetConfigSchemaRequest

Request for GetConfigSchema.

NameTypeDescription

GetConfigSchemaResponse

Response from GetConfigSchema.

NameTypeDescription
schemastringThe schema of the face config as a JSON string.

GetMetadataRequest

Request for GetMetadata.

NameTypeDescription

GetMetadataResponse

Response from GetMetadata.

NameTypeDescription
keystringThe key of the face.
descriptionstringThe description of the face.

GetPostSchemaRequest

Request for GetPostSchema.

NameTypeDescription

GetPostSchemaResponse

Response from GetPostSchema.

NameTypeDescription
schemastringThe schema of a post as a JSON string.

GetStatusRequest

Request for GetStatus.

NameTypeDescription

GetStatusResponse

Response from GetStatus.

NameTypeDescription
statusStatusThe status of the face.

PostRequest

Request for Post.

NameTypeDescription
contentstringThe content of the post as a JSON string.

PostResponse

Response from Post.

NameTypeDescription
idstringThe ID of the post.
urlstringThe URL of the post.

ResetRequest

Request for Reset.

NameTypeDescription

ResetResponse

Response from Reset.

NameTypeDescription

SaveRequest

Request for Save.

NameTypeDescription

SaveResponse

Response from Save.

NameTypeDescription

ScoreRequest

Request for Score.

NameTypeDescription
idstringThe ID of the post to score.

ScoreResponse

Response from Score.

NameTypeDescription
scoredoubleThe score of the post.

ScrapRequest

Request for Scrap.

NameTypeDescription
limituint64The maximum number of posts to scrap.
beforegoogle.protobuf.TimestampThe maximum time of the posts to scrap.
aftergoogle.protobuf.TimestampThe minimum time of the posts to scrap.

ScrapResponse

Response from Scrap.

NameTypeDescription
idstringThe ID of the post.
contentstringThe content of the post as a JSON string.
scoredoubleThe score of the post.

SetConfigRequest

Request for SetConfig.

NameTypeDescription
configstringThe config of the face as a JSON string.

SetConfigResponse

Response from SetConfig.

NameTypeDescription
configstringThe config of the face as a JSON string.

WatchConfigRequest

Request for WatchConfig.

NameTypeDescription

WatchConfigResponse

Response from WatchConfig.

NameTypeDescription
configstringThe config of the face as a JSON string.

WatchStatusRequest

Request for WatchStatus.

NameTypeDescription

WatchStatusResponse

Response from WatchStatus.

NameTypeDescription
statusStatusThe status of the face.

Enums

Status

Possible face statuses.

NameNumberDescription
STATUS_UNSPECIFIED0Unspecified status.
STATUS_LOADING1The face is loading.
STATUS_READY2The face is ready.

Services

FaceService

GetMetadata

MethodGetMetadata
RequestGetMetadataRequest
ResponseGetMetadataResponse
DescriptionReturns the metadata of the face.

GetPostSchema

MethodGetPostSchema
RequestGetPostSchemaRequest
ResponseGetPostSchemaResponse
DescriptionReturns the schema of a post.

GetStatus

MethodGetStatus
RequestGetStatusRequest
ResponseGetStatusResponse
DescriptionReturns the status of the face.

WatchStatus

MethodWatchStatus
RequestWatchStatusRequest
ResponseWatchStatusResponse stream
DescriptionReturns an infinite stream of status updates.

GetConfigSchema

MethodGetConfigSchema
RequestGetConfigSchemaRequest
ResponseGetConfigSchemaResponse
DescriptionReturns the schema of the face config.

GetConfig

MethodGetConfig
RequestGetConfigRequest
ResponseGetConfigResponse
DescriptionReturns the config of the face.

WatchConfig

MethodWatchConfig
RequestWatchConfigRequest
ResponseWatchConfigResponse stream
DescriptionReturns an infinite stream of config updates.

SetConfig

MethodSetConfig
RequestSetConfigRequest
ResponseSetConfigResponse
DescriptionSets the config of the face.

Post

MethodPost
RequestPostRequest
ResponsePostResponse
DescriptionPosts a post.

Score

MethodScore
RequestScoreRequest
ResponseScoreResponse
DescriptionEvaluates a post.

Scrap

MethodScrap
RequestScrapRequest
ResponseScrapResponse stream
DescriptionScrapes posts.

Reset

MethodReset
RequestResetRequest
ResponseResetResponse
DescriptionResets the face.

Save

MethodSave
RequestSaveRequest
ResponseSaveResponse
DescriptionSaves the face.