Cyan Web API - Version 1


POST api/filemetadata

            Creates a metadata record that is used to track files uploaded to blob storage
            

Request Information

Parameters

NameDescriptionAdditional information
fileRepresentation

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "fileId": "a3dc8652-8e67-48f2-a2d3-12903a10a6fd",
  "tenantId": "5baba371-e02e-4735-8569-71591c628222",
  "name": "sample string 3",
  "description": "sample string 4",
  "blobStorageUrl": "sample string 5",
  "size": 1,
  "contentType": "sample string 6",
  "isShared": true,
  "correlationId": "sample string 8",
  "createdBy": "sample string 9",
  "createdDateUtc": "2024-08-30T01:33:29.9167033+00:00",
  "updatedDateUtc": "2024-08-30T01:33:29.9167033+00:00"
}

application/xml, text/xml

Sample:
<FileRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <CreatedDateUtc>2024-08-30T01:33:29.9167033+00:00</CreatedDateUtc>
  <UpdatedDateUtc>2024-08-30T01:33:29.9167033+00:00</UpdatedDateUtc>
  <BlobStorageUrl>sample string 5</BlobStorageUrl>
  <ContentType>sample string 6</ContentType>
  <CorrelationId>sample string 8</CorrelationId>
  <CreatedBy>sample string 9</CreatedBy>
  <Description>sample string 4</Description>
  <FileId>a3dc8652-8e67-48f2-a2d3-12903a10a6fd</FileId>
  <IsShared>true</IsShared>
  <Name>sample string 3</Name>
  <Size>1</Size>
  <TenantId>5baba371-e02e-4735-8569-71591c628222</TenantId>
</FileRepresentation>

application/x-www-form-urlencoded

Sample:

Sample not available.