Paths
post/api/v2/paths
Request
- Base URLhttps://app.360learning.com
- URLhttps://app.360learning.com/api/v2/paths
- AuthOAuth 2Client credentialsToken URL: /api/v2/oauth2/token
Headers
360-api-version'v2.0' required
The version of the API.
Request body multipart/form-data
Example request
{
"authorId": "507f1f77bcf86cd799439011",
"certificateId": "507f1f77bcf86cd799439011",
"groupId": "507f1f77bcf86cd799439011",
"name": "Employee Onboarding",
"coAuthorIds": [
"507f1f77bcf86cd799439011"
],
"description": "This path will teach you how to onboard a new employee!",
"additionalInformation": "Training content 203",
"coverPicture": "507f1f77bcf86cd799439011"
}Response
Returns the information about the created path.
Example response
{
"authorId": "507f1f77bcf86cd799439011",
"certificateId": "507f1f77bcf86cd799439011",
"groupId": "507f1f77bcf86cd799439011",
"_id": "507f1f77bcf86cd799439011",
"coAuthorIds": [
"507f1f77bcf86cd799439011"
],
"name": "Employee Onboarding",
"steps": [
{
"_id": "507f1f77bcf86cd799439011"
}
],
"translations": [
{
"lang": "fr",
"translatorIds": [
"507f1f77bcf86cd799439011"
],
"translatedFields": {
"name": "Accueil des employés",
"description": "Ce chemin vous apprend à intégrer un nouveau collaborateur !"
}
}
],
"additionalInformation": "Training content 203",
"coverPicture": "507f1f77bcf86cd799439011",
"description": "This path will teach you how to onboard a new employee!"
}Changes
- breaking
added
subschema #3: Lock Stats Not Enabledto the response bodyoneOflist for the response status - info
added the new optional request property
// - info
added the required property
//to the response with the status
- breaking