Skip to main content

PUT Project

Overview


The following table contains important information about the PUT method in regards to updating a project.

PUT Project
MethodPUT
URL or Endpoint/api/projects/projectId
HeadersAuthorization
ParametersNot Applicable
BodyprojectId

Request Body

{
"name": "string",
"orderNumber": 0,
"isDefault": true,
"subtitlesEnabledByDefault": true,
"biskoId": "string",
"prebidConfigId": "string",
"chromeCastApplicationId": "string",
"drmLicenseUrl": "string",
"fpsCertificateUrl": "string",
"widevineLicenseUrl": "string",
"encodingTemplateId": 0,
"releaseChannelId": 0
}

Information about the fields that appear in the request body are displayed in the table below.

Field NameTypeDescription
namestringThe name of the project
orderNumberintegerThe order number.
isDefaultbooleanIndicates whether the project is a default project.
subtitlesEnabledByDefaultbooleanControls whether newly ingested subtitles are automatically activated once they are ready. When enabled, captions become immediately available to viewers without manual action. When disabled, subtitles remain inactive until a user explicitly turns them on, which is useful for workflows that require editorial review.
biskoIdstringThe Bisko ID.
prebidConfigIdstringThe configuration ID of the prebid.
chromeCastApplicationIdstringThe application ID for Chromecast.
drmLicenseUrlstringThe URL for the DRM license.
fpsCertificateUrlstringThe URL for the FPS certificate.
widevineLicenseUrlstringThe URL for the Widevine license.
encodingTemplateIdintegerThe default ID of the encoding template which will be applied when encoding videos.
releaseChannelIdinteger or nullSpecifies the ID of release channel (player version) assigned to the project. This determines which player build is referenced in the project's player URL returned in the response model, allowing the project to be pinned to a specific player release.

Response

{
"success": true,
"errors": [],
"messages": [],
"result": {
"publicProjectId": "string",
"name": "string",
"publicOrganizationId": "string",
"orderNumber": 0,
"isDefault": true,
"subtitlesEnabledByDefault": true,
"useBackupBeforeLive": true,
"cutFromChannel": true,
"biskoId": "string",
"prebidConfigId": "string",
"chromeCastApplicationId": "string",
"drmLicenseUrl": "string",
"fpsCertificateUrl": "string",
"widevineLicenseUrl": "string",
"geoBlockingEnabled": true,
"encodingTemplateId": 0,
"releaseChannelId": 0,
"playerUrl": "string",
"googleCredentialsUploaded": true,
"tokenAuthenticationEnabled": true,
"secureTokenSecretKey": "string",
"advancedAnalyticsRedirectId": 0,
"aiMetadataEnabled": true,
"advancedAnalyticsRedirect": "string",
"defaultChannelTypeId": 0,
"defaultChannelType": "string",
"defaultLatencyTypeId": 0,
"defaultLatencyType": "string",
"defaultInputTypeId": 0,
"defaultInputType": "string"
},
"resultInfo": null,
"statusCode": 200
}

Information about the fields that appear when you receive the response are displayed in the table below.

Field NameTypeDescription
successboolIf the response is successful it will return true. Otherwise will return false.
errorsarray[]Indicates if there was an error.
messagesarray[]Returns the response message from back-end.
resultarray[Object]Returns the response object.
publicProjectIdstringThe id of the project.
namestringThe name of the project
publicOrganizationIdstringThe id of the organization
orderNumberinteger($int32)The order number.
isDefaultboolIndicates whether the project is a default project.
subtitlesEnabledByDefaultbooleanIndicates if subtitles are enabled by default.
useBackupBeforeLivebooleanIndicates whether the project's pre-live custom screen will automatically be shown before going live.
cutFromChannelbooleanIndicates whether only streamed content is retained in the final video after a live stream ends.
biskoIdstringThe Bisko ID.
prebidConfigIdstringThe configuration ID of the prebid.
chromeCastApplicationIdstringThe application ID for Chromecast.
drmLicenseUrlstringThe URL for the DRM license.
fpsCertificateUrlstringThe URL for the FPS certificate.
widevineLicenseUrlstringThe URL for the Widevine license.
geoBlockingEnabledbooleanIndicates if geo-blocking is enabled.
encodingTemplateIdintegerThe ID of the encoding template.
releaseChannelIdintegerThe ID of the release channel.
playerUrlstringThe URL for the video player.
googleCredentialsUploadedbooleanIndicates if Google credentials have been uploaded.
tokenAuthenticationEnabledbooleanIndicates if token authentication is enabled.
secureTokenSecretKeystringThe secret key used for secure token authentication.
advancedAnalyticsRedirectIdintegerThe ID of the advanced analytics redirect type.
aiMetadataEnabledbooleanIndicates if AI metadata generation is enabled.
advancedAnalyticsRedirectstringThe name of the advanced analytics redirect type.
defaultChannelTypeIdintegerThe default channel type ID for new live channels in this project.
defaultChannelTypestringThe name of the default channel type.
defaultLatencyTypeIdintegerThe default latency type ID for new live channels in this project.
defaultLatencyTypestringThe name of the default latency type.
defaultInputTypeIdintegerThe default input type ID for new live channels in this project.
defaultInputTypestringThe name of the default input type.
resultInfostringReturns extra information about the result.
statusCodeinteger($int32)Returns the HTTP Status Code.

If the action is successful, the service sends back an HTTP 200 or 201 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed