How do I use a specific form definition for uploaded media ?
Follow the steps above for media creation, but add a kpk:form
entry in the POST request in folder's media collection :
POST /api/dam/folders/{folderId}/medias
Content-Type: application/json
{
"_links":
{
"from":
{
"href": "http://baobab.keepeek.com/api/dam/files/df1234ac"
},
"kpk:form":
{
"href": "http://baobab.keepeek.com/api/dam/forms/6"
}
}
}
The available forms can be retrieved by a GET on /api/dam/forms