# Create an asset The assets operations are deprecated in 2.0. Use the /videos endpoints instead. This operation creates an asset. You can only upload MP4 format and H.264 and AAC encoded files. Any files with unsupported codecs are rejected. Endpoint: POST /assets Version: v2.0 ## Request fields (application/json): - `asset` (object) Example: {"file_name":"MyAsset.mp4"} - `asset.file_name` (string, required) The name of the mp4 file you are uploading. Note: To avoid file management issues in storage, Wowza Video removes or replaces special characters in file names. Example: "MyAsset.mp4" ## Response 201 fields (application/json): - `asset` (object, required) Example: {"id":"2adffc17","created_at":"2021-06-30T18:02:20.000Z","file_name":"MyAsset.mp4","upload_url":"https://objectstorage.us-ashburn-1.oraclecloud.com/p/k9bGRcyPFPtdeQeTRgAVTByIVVS0Z_EKrLBu3TusTrRfBuIpoDyio_ZY3qJM55tp/n/a1b2c3d4e5f6/b/recordings-qa-S7I69eYn/o/uploads/recording_bry7vv0s/MyAsset.mp4"} - `asset.id` (string) The unique identifier of the asset. Use this ID to perform other operations on the stream, like getting the details of the asset or deleting it. Example: "2adffc17" - `asset.created_at` (string) The date and time that the asset was created in Coordinated Universal Time (UTC) format. Dates are formatted as follows: YYYY-DD-MMT HH:MM:SSZ using 24-hour clock ("military") time and including the T and Z. The T marks the end of the date portion and the Z represents zero UTC time offset. Example: "2021-06-30T18:02:20.000Z" - `asset.file_name` (string) The name of the mp4 file you are uploading. Note: To avoid file management issues in storage, Wowza Video removes or replaces special characters in file names. Example: "MyAsset.mp4" - `asset.upload_url` (string) The upload location for the asset. Use this URL to upload the .mp4 assets to the Wowza Video Asset Manager. Example: "https://objectstorage.us-ashburn-1.oraclecloud.com/p/k9bGRcyPFPtdeQeTRgAVTByIVVS0Z_EKrLBu3TusTrRfBuIpoDyio_ZY3qJM55tp/n/a1b2c3d4e5f6/b/recordings-qa-S7I69eYn/o/uploads/recording_bry7vv0s/MyAsset.mp4" ## Response 401 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array) ## Response 422 fields (application/json): - `meta` (object, required) - `meta.status` (integer) - `meta.code` (string) - `meta.title` (string) - `meta.message` (string) - `meta.description` (string) - `meta.links` (array)