put https://api.fulcrumapp.com/api/v2/changesets/.json
API Library Examples
from fulcrum import Fulcrum
fulcrum = Fulcrum('{token}')
obj = {
"changeset": {
"form_id": "my-form-id",
"metadata": {
"comment": "Update status",
"app_created_by": "ACME Engineering",
"app_name": "Fulcrum Update Script"
}
}
}
changeset = fulcrum.changesets.update('{id}', obj)
print(changeset['changeset']['id'] + ' has been updated!')
const { Client } = require('fulcrum-app');
const client = new Client('{token}');
const obj = {
"form_id": "my-form-id",
"metadata": {
"comment": "Update status",
"app_created_by": "ACME Engineering",
"app_name": "Fulcrum Update Script"
}
};
client.changesets.update('{id}', obj)
.then((changeset) => {
console.log(changeset.id + ' has been updated!');
})
.catch((error) => {
console.log(error.message);
});
require 'fulcrum'
client = Fulcrum::Client.new('{token}')
changeset = {
"form_id"=>"my-form-id",
"metadata"=>{
"comment"=>"Update status",
"app_created_by"=>"ACME Engineering",
"app_name"=>"Fulcrum Update Script"
}
}
response = client.changesets.update('{id}', changeset)
puts response['id'] + ' has been updated!'