Knowledge_GetContribution
Knowledge_GetContribution
Path Parameters
- user string required
The user id.
- contribution string required
The contribution id.
- 200
- default
OK
Schema
- name string required
The resource name of the contribution. Required resource name
- reviewer string
Who reviewed (accepting or rejecting) the contribution. Null if the contribution is still in reviewing phase
- state enum
Possible values: [
PENDING
,APPROVED
,REJECTED
,DRAFT
]The state of the contribution
- displayName string
Arbitrary human readible contribution
- generation int32
Incremental value which specifies how many times the contribution has been reviewed.
- createTime date-time
When the album was created.
- updateTime date-time
When the album was updated.
- reviewTime date-time
When the album was reviewed.
Default error response
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- @type string
The type of the serialized message.