Update a code

codes_put(id, name, type, body, readme, score = NULL,
  auth_s3_url = NULL)

Arguments

id

integer required. The ID for this code.

name

string required. Name of code.

type

string required. The code's type; e.g., Code::FrontEnd.

body

string required. Actual code contents; e.g., HTML, SQL, etc.

readme

string required. User specified information about this code. Markdown format accepted.

score

integer optional. Internal Civis Use Only.

auth_s3_url

string optional. Authorized_s3_link to file.

Value

A list containing the following elements:

id

integer, The ID for this code.

name

string, Name of code.

type

string, The code's type; e.g., Code::FrontEnd.

body

string, Actual code contents; e.g., HTML, SQL, etc.

readme

string, User specified information about this code. Markdown format accepted.

score

integer, Internal Civis Use Only.

authS3Url

string, Authorized_s3_link to file.

createdAt

string, The creation time for this code.

updatedAt

string, The last modification time for this code.