Intro to Custom Fields

Custom fields are made up of labels, which are configured on the bounty, and values which are set on a submission.

On the Bounty

custom_field_labels is a column on bounty and each is referenced by its unique field_id, they are a nested resource on the bounty. The custom_field_labels object has the form:

[
  {
    "field_id": "myid",
    "field_name": "myname"
  },
  {
    "field_id": "otherid",
    "field_name": "othername"
  }
]

On the Submission

custom_fields is a column on a submission that has a key value mapping between a field_name and its value for that submission like so:

{
  "myname": "myvalue",
  "othername": "othervalue"
}