- List Box Skill cards on file
- Create Box Skill cards on file
- Update Box Skill cards on file
- Remove Box Skill cards from file
- Update all Box Skill cards on file
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.
client.getSkills().getBoxSkillCardsOnFile(file.getId())
- fileId
String- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL
https://*.app.box.com/files/123thefile_idis123. Example: "12345"
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL
- headers
GetBoxSkillCardsOnFileHeaders- Headers of getBoxSkillCardsOnFile method
This 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.
client.getSkills().createBoxSkillCardsOnFile(file.getId(), new CreateBoxSkillCardsOnFileRequestBody(cardsToCreate))
- fileId
String- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL
https://*.app.box.com/files/123thefile_idis123. Example: "12345"
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL
- requestBody
CreateBoxSkillCardsOnFileRequestBody- Request body of createBoxSkillCardsOnFile method
- headers
CreateBoxSkillCardsOnFileHeaders- Headers of createBoxSkillCardsOnFile method
This 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.
client.getSkills().updateBoxSkillCardsOnFile(file.getId(), Arrays.asList(new UpdateBoxSkillCardsOnFileRequestBody.Builder().op(UpdateBoxSkillCardsOnFileRequestBodyOpField.REPLACE).path("/cards/0").value(cardToUpdate).build()))
- fileId
String- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL
https://*.app.box.com/files/123thefile_idis123. Example: "12345"
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL
- requestBody
List<UpdateBoxSkillCardsOnFileRequestBody>- Request body of updateBoxSkillCardsOnFile method
- headers
UpdateBoxSkillCardsOnFileHeaders- Headers of updateBoxSkillCardsOnFile method
This 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.
client.getSkills().deleteBoxSkillCardsFromFile(file.getId())
- fileId
String- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL
https://*.app.box.com/files/123thefile_idis123. Example: "12345"
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL
- headers
DeleteBoxSkillCardsFromFileHeaders- Headers of deleteBoxSkillCardsFromFile method
This function returns a value of type void.
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
- skillId
String- The ID of the skill to apply this metadata for. Example: "33243242"
- requestBody
UpdateAllSkillCardsOnFileRequestBody- Request body of updateAllSkillCardsOnFile method
- headers
UpdateAllSkillCardsOnFileHeaders- Headers of updateAllSkillCardsOnFile method
This function returns a value of type void.
Returns an empty response when the card has been successfully updated.