Update By Id Using PUT
Update a Custom Integration with the given id
The ID of the Custom Integration
The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about
{
"description": "string",
"name": "My-Name",
"project": "My-Project",
"yaml": "---\nruntime: \"nodejs\"\ncode: |\n var context = require(\"./context.js\")\n var start = Date.now();\n var message = context.getInput(\"message\");\n console.log(\"starting timer is good \" + message);\n \n setTimeout(function() {\n var millis = Date.now() - start;\n console.log(\"seconds elapsed = \" + Math.floor(millis/1000));\n context.setOutput(\"time\", millis);\n }, 2000);\ninputProperties:\n - name: message\n type: text\n title: Message\n placeHolder: Time\n defaultValue: \n bindable: true\n labelInfo: true\n labelMessage: What is time\n \noutputProperties:\n - name: time\n type: label\n title: Time"
}
A human-friendly description.
A human-friendly name used as an identifier in APIs that support this option
The project this entity belongs to.
YAML describing Custom integration details.
OK
{
"_createTimeInMicros": 1568625938000000,
"_createdBy": "exampleuser",
"_link": "/codestream/api/<prefix>/8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"_updateTimeInMicros": 1568625938000000,
"_updatedBy": "exampleuser",
"changeLog": "Modified input property.",
"createdAt": "2019-09-16 09:25:38.065065+00",
"createdBy": "exampleuser",
"description": "string",
"id": "8365ef3b-8bf3-48aa-bd5d-7113fcff827c",
"name": "My-Name",
"parentId": "1abd1fd6-ae2c-459c-ab75-8c595631a11f",
"project": "My-Project",
"status": "NONE/RELEASED/DEPRECATED",
"updatedAt": "2019-09-16 09:25:38.065065+00",
"updatedBy": "exampleuser",
"version": "v1",
"yaml": "---\nruntime: \"nodejs\"\ncode: |\n var context = require(\"./context.js\")\n var start = Date.now();\n var message = context.getInput(\"message\");\n console.log(\"starting timer is good \" + message);\n \n setTimeout(function() {\n var millis = Date.now() - start;\n console.log(\"seconds elapsed = \" + Math.floor(millis/1000));\n context.setOutput(\"time\", millis);\n }, 2000);\ninputProperties:\n - name: message\n type: text\n title: Message\n placeHolder: Time\n defaultValue: \n bindable: true\n labelInfo: true\n labelMessage: What is time\n \noutputProperties:\n - name: time\n type: label\n title: Time"
}
This field is provided for backward compatibility. Contains the same value as the 'createdAt' field as a UNIX timestamp in microseconds
This field is provided for backward compatibility. Contains the same value as the 'createdBy' field
Partial URL that provides details of the resource.
This field is provided for backward compatibility. Contains the same value as the 'updatedAt' field as a UNIX timestamp in microseconds
This field is provided for backward compatibility. Contains the same value as the 'updatedBy' field
Changes from the previous version.
Date when the entity was created. The date is in ISO 8601 with time zone
The user that created this entity
A human-friendly description.
The id of this resource.
A human-friendly name used as an identifier in APIs that support this option
The id of the parent of this resource.
The project this entity belongs to.
Release status of the Custom Integration
Date when the entity was last updated. The date is in ISO 8601 with time zone.
The user that last updated this entity
Version of the resource.
YAML describing Custom integration details.
Unauthorized Request
Forbidden
Not Found
Server Error