List the Box Skills metadata cards that are attached to a file.
This operation is performed by calling function getBoxSkillCardsOnFile.
See the endpoint docs at API Reference.
await client.skills.getBoxSkillCardsOnFile(file.id);
string
https://*.app.box.com/files/123 the file_id is 123. Example: “12345”GetBoxSkillCardsOnFileOptionalsInputThis function returns a value of type SkillCardsMetadata.
Returns all the metadata associated with a file.
This API does not support pagination and will therefore always return all of the metadata associated to the file.
Applies one or more Box Skills metadata cards to a file.
This operation is performed by calling function createBoxSkillCardsOnFile.
See the endpoint docs at API Reference.
await client.skills.createBoxSkillCardsOnFile(file.id, {
cards: cardsToCreate,
} satisfies CreateBoxSkillCardsOnFileRequestBody);
string
https://*.app.box.com/files/123 the file_id is 123. Example: “12345”CreateBoxSkillCardsOnFileRequestBody
CreateBoxSkillCardsOnFileOptionalsInputThis function returns a value of type SkillCardsMetadata.
Returns the instance of the template that was applied to the file, including the data that was applied to the template.
Updates one or more Box Skills metadata cards to a file.
This operation is performed by calling function updateBoxSkillCardsOnFile.
See the endpoint docs at API Reference.
await client.skills.updateBoxSkillCardsOnFile(file.id, [
{
op: 'replace' as UpdateBoxSkillCardsOnFileRequestBodyOpField,
path: '/cards/0',
value: cardToUpdate,
} satisfies UpdateBoxSkillCardsOnFileRequestBody,
]);
string
https://*.app.box.com/files/123 the file_id is 123. Example: “12345”readonly UpdateBoxSkillCardsOnFileRequestBody[]
UpdateBoxSkillCardsOnFileOptionalsInputThis function returns a value of type SkillCardsMetadata.
Returns the updated metadata template, with the custom template data included.
Removes any Box Skills cards metadata from a file.
This operation is performed by calling function deleteBoxSkillCardsFromFile.
See the endpoint docs at API Reference.
await client.skills.deleteBoxSkillCardsFromFile(file.id);
string
https://*.app.box.com/files/123 the file_id is 123. Example: “12345”DeleteBoxSkillCardsFromFileOptionalsInputThis function returns a value of type undefined.
Returns an empty response when the cards are successfully deleted.
An alternative method that can be used to overwrite and update all Box Skill metadata cards on a file.
This operation is performed by calling function updateAllSkillCardsOnFile.
See the endpoint docs at API Reference.
Currently we don’t have an example for calling updateAllSkillCardsOnFile in integration tests
string
UpdateAllSkillCardsOnFileRequestBody
UpdateAllSkillCardsOnFileOptionalsInputThis function returns a value of type undefined.
Returns an empty response when the card has been successfully updated.