File credit and description information
Credit information helps to accurately attribute the creator or owner of a file for their work, while description makes it easier for others to understand the purpose and content of the file. In certain cases, including credit and description information may be legally required, particularly for copyrighted materials. Adding credit and description metadata to a file can be accomplished using the KurocoFiles(Database) resource/directory of the File Manager.
How to setup
Click KurocoFiles(Database) from File manager
Note that, credit and description information can only be put to files in this directory.
Right-click on the desired file that you wish to add the information to, and select "File Metadata" option.
In the "File Metadata" window, you can then can enter credit and description for the file.
That's it. This information will be stored with the file and can be used to identify the source and purpose of the file.
Check credit and description
You can find the credit and description of your file in the Content API response.
Create content structure
First, let's have a content structure with an extension column with
File (from File manager) type.
From the Content structure list, Click [Add].
Configure the following settings.
|ID=1||Field settings: File (from File manager)|
Field name: My Image
Once configured, click "Add" to add content structure.
Create a new content and attach the file to the extension column you created in the previous step.
From the Contents List screen, click [Add].
Enter the following and click [Add].
|My Image||File with credits and description added|
Create an endpoint that fetches the content. This will allow you to retrieve the file and its associated metadata from the Content API.
From the API screen, click [Add new endpoint].
Create the following endpoint.
|topics_group_id||ID of content structure|
Once configured, click [Add] to add the endpoint.
Check the response in the Swagger UI
Click [Swagger UI] from the target API.
Click [Try it Out] on the Topics::list endpoint
You should receive an API response that includes the credit and description metadata for the file.