{"openapi":"3.1.0","info":{"title":"Title Editor","description":"External patch source for Jamf Pro","version":"2.0"},"x-readme":{"explorer-enabled":false,"proxy-enabled":true},"servers":[{"url":"https://yourServer.appcatalog.jamfcloud.com/v2"}],"tags":[{"name":"auth"},{"name":"capabilities"},{"name":"codesigning"},{"name":"components"},{"name":"criteria"},{"name":"extensionattributes"},{"name":"externaltitles"},{"name":"killapps"},{"name":"overrides"},{"name":"patches"},{"name":"preferences"},{"name":"privileges"},{"name":"requirements"},{"name":"smtpserver"},{"name":"softwaretitles"},{"name":"sources"},{"name":"users"},{"name":"valuelists"}],"paths":{"/auth/current":{"post":{"tags":["auth"],"summary":"Get token claims","description":"Gets claims associated with the current token","operationId":"getTokenClaims","responses":{"200":{"description":"Successful response - Claims retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tokenClaims"}}}}},"security":[{"bearer":[]}]}},"/auth/keepalive":{"post":{"tags":["auth"],"summary":"Refresh token","description":"Generates a new token with extended expiration based on the existing token credentials","operationId":"refreshToken","responses":{"200":{"description":"Successful response - Token updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/authToken"}}}}},"security":[{"bearer":[]}]}},"/auth/recover":{"post":{"tags":["auth"],"summary":"Send token","description":"Creates a token and emails user","operationId":"sendToken","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/emailRecipient"}}},"required":true},"responses":{"204":{"description":"Successful response - Email sent","content":{}},"503":{"description":"Email failed to send","content":{}}},"x-codegen-request-body-name":"body"}},"/auth/tokens":{"post":{"tags":["auth"],"summary":"Create token","description":"Creates a token based on other authentication details","operationId":"createToken","responses":{"200":{"description":"Successful response - Token created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/authToken"}}}}},"security":[{"bearer":[]}]}},"/capabilities/{id}":{"put":{"tags":["capabilities"],"summary":"Update capability","description":"Updates a capability object","operationId":"updateCapability","parameters":[{"name":"id","in":"path","description":"id of capability object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability"}}},"required":true},"responses":{"200":{"description":"Successful response - Capability updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability"}}}},"404":{"description":"Target capability object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["capabilities"],"summary":"Delete capability","description":"Deletes a capability object","operationId":"deleteCapability","parameters":[{"name":"id","in":"path","description":"id of capability object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Capability deleted","content":{}},"404":{"description":"Target capability object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/codesigning/certificate":{"get":{"tags":["codesigning"],"summary":"Get certificate info","description":"Gets the code signing certificate information","operationId":"getSigningCertInfo","responses":{"200":{"description":"Successful response - Certificate retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/certificateInfo"}}}}},"security":[{"bearer":["read:preferences"]}]},"put":{"tags":["codesigning"],"summary":"Update certificate","description":"Updates the code signing certificate","operationId":"setSigningCert","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/certificate"}}},"required":true},"responses":{"200":{"description":"Successful response - Certificate updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/certificate"}}}}},"security":[{"bearer":["write:preferences"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["codesigning"],"summary":"Delete certificate","description":"Deletes the code signing certificate","operationId":"deleteSigningCert","responses":{"204":{"description":"Successful response - Certificate deleted","content":{}}},"security":[{"bearer":["write:preferences"]}]}},"/components/{id}":{"get":{"tags":["components"],"summary":"Get component","description":"Gets a component object","operationId":"getComponent","parameters":[{"name":"id","in":"path","description":"id of component object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Component retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/component"}}}},"404":{"description":"Target component object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]},"put":{"tags":["components"],"summary":"Update component","description":"Updates a component object","operationId":"updateComponent","parameters":[{"name":"id","in":"path","description":"id of component object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/componentObj"}}},"required":true},"responses":{"200":{"description":"Successful response - Component updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/component"}}}},"404":{"description":"Target component object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["components"],"summary":"Delete component","description":"Deletes a component object","operationId":"deleteComponent","parameters":[{"name":"id","in":"path","description":"id of component object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Component deleted","content":{}},"404":{"description":"Target component object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/components/{id}/criteria":{"post":{"tags":["components"],"summary":"Create criteria","description":"Creates a criteria for a component object","operationId":"addCriteria","parameters":[{"name":"id","in":"path","description":"id of component object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/criteria"}}},"required":true},"responses":{"200":{"description":"Successful response - Criteria created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/criteria"}}}},"404":{"description":"Target component object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/components/{id}/criteria/autofill":{"get":{"tags":["components"],"summary":"Get autofill criteria","description":"Gets autofill criteria for a component object","operationId":"getAutoFillCriteria","parameters":[{"name":"id","in":"path","description":"id of component object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Autofill data retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/criteriaAutoFill"}}}}},"404":{"description":"Target component object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/components/{id}/navigation":{"get":{"tags":["components"],"summary":"Get navigation","description":"Gets prev/next ids for a component object","operationId":"getComponentNavigation","parameters":[{"name":"id","in":"path","description":"id of component object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Navigation retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/navigation"}}}},"404":{"description":"Target component object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/criteria/{id}":{"put":{"tags":["criteria"],"summary":"Update criteria","description":"Updates a criteria object","operationId":"updateCriteria","parameters":[{"name":"id","in":"path","description":"id of criteria object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/criteria"}}},"required":true},"responses":{"200":{"description":"Successful response - Criteria updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/criteria"}}}},"404":{"description":"Target criteria object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["criteria"],"summary":"Delete criteria","description":"Deletes a criteria object","operationId":"deleteCriteria","parameters":[{"name":"id","in":"path","description":"id of criteria object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Criteria deleted","content":{}},"404":{"description":"Target criteria object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/extensionattributes/{id}":{"get":{"tags":["extensionattributes"],"summary":"Get extension attribute","description":"Gets an extension attribute object","operationId":"getExtensionAttribute","parameters":[{"name":"id","in":"path","description":"id of extension attribute object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Extension attribute retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/extensionAttribute"}}}},"404":{"description":"Target extension attribute object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]},"put":{"tags":["extensionattributes"],"summary":"Update extension attribute","description":"Updates an extension attribute object","operationId":"updateExtensionAttribute","parameters":[{"name":"id","in":"path","description":"id of extension attribute object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/extensionAttribute"}}},"required":true},"responses":{"200":{"description":"Successful response - Extension attribute updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/extensionAttribute"}}}},"404":{"description":"Target extension attribute object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["extensionattributes"],"summary":"Delete extension attribute","description":"Deletes an extension attribute object","operationId":"deleteExtensionAttribute","parameters":[{"name":"id","in":"path","description":"id of extension attribute object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Extension attribute deleted","content":{}},"404":{"description":"Target extension attribute object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/extensionattributes/{id}/navigation":{"get":{"tags":["extensionattributes"],"summary":"Get navigation","description":"Gets prev/next ids for a extension attribute object","operationId":"getExtensionAttributeNavigation","parameters":[{"name":"id","in":"path","description":"id of extension attribute object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Navigation retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/navigation"}}}},"404":{"description":"Target extension attribute object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/available":{"get":{"tags":["externaltitles"],"summary":"Get available titles","description":"Gets available software titles from all external sources","operationId":"getAvailableTitles","responses":{"200":{"description":"Successful response - Summaries retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/availableTitle"}}}}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/subscribed/refresh":{"post":{"tags":["externaltitles"],"summary":"Refresh subscribed titles","description":"Refreshes all software title summaries subscribed from external sources","operationId":"refreshSubscribedTitles","responses":{"200":{"description":"Successful response - Summaries refreshed","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/softwareTitleObj"}}}}}},"security":[{"bearer":[]}]}},"/subscribed/{id}":{"get":{"tags":["externaltitles"],"summary":"Get subscribed title","description":"Gets a software title object subscribed from an external source","operationId":"getSubscribedTitle","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Software title retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/softwareTitleObj"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/subscribed/{id}/definition":{"get":{"tags":["externaltitles"],"summary":"Get definition","description":"Gets a complete definition of a software title subscribed from an external source","operationId":"getDefinition","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Software title retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/externalTitle"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/subscribed/{id}/overrides":{"get":{"tags":["externaltitles"],"summary":"Get override","description":"Gets the override object for a software title subscribed from an external source","operationId":"getOverride","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Overrides retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/override"}}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]},"put":{"tags":["externaltitles"],"summary":"Set override","description":"Set the override object for a software title subscribed from an external source","operationId":"setOverride","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/override"}}},"required":true},"responses":{"200":{"description":"Successful response - Overrides updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/override"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["externaltitles"],"summary":"Delete override","description":"Deletes the override object for a software title subscribed from an external source","operationId":"deleteOverride","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Overrides deleted","content":{}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/subscribed/{id}/overrides/killapps":{"get":{"tags":["externaltitles"],"summary":"Get kill apps","description":"Gets all override kill app objects for a software title subscribed from an external source","operationId":"getOverrideKillApps","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Override kill apps retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/overrideKillApp"}}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]},"post":{"tags":["externaltitles"],"summary":"Create kill app","description":"Creates a override kill app object for a software title subscribed from an external source","operationId":"addOverrideKillApp","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/overrideKillApp"}}},"required":true},"responses":{"200":{"description":"Successful response - Override kill app created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/overrideKillApp"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/subscribed/{id}/overrides/killapps/autofill":{"get":{"tags":["externaltitles"],"summary":"Get autofill kill apps","description":"Gets autofill kill apps for a software title subscribed from an external source","operationId":"getAutoFillOverrideKillApps","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Autofill data retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/killAppAutoFill"}}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/killapps/{id}":{"get":{"tags":["killapps"],"summary":"Get kill app","description":"Gets a kill app object","operationId":"getKillApp","parameters":[{"name":"id","in":"path","description":"id of kill app object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Kill app retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/killApp"}}}},"404":{"description":"Target kill app object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]},"put":{"tags":["killapps"],"summary":"Update kill app","description":"Updates a kill app object","operationId":"updateKillApp","parameters":[{"name":"id","in":"path","description":"id of kill app object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/killApp"}}},"required":true},"responses":{"200":{"description":"Successful response - Kill app updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/killApp"}}}},"404":{"description":"Target kill app object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["killapps"],"summary":"Delete kill app","description":"Deletes a kill app object","operationId":"deleteKillApp","parameters":[{"name":"id","in":"path","description":"id of kill app object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Kill app deleted","content":{}},"404":{"description":"Target kill app object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/killapps/{id}/navigation":{"get":{"tags":["killapps"],"summary":"Get navigation","description":"Gets prev/next ids for a kill app object","operationId":"getKillAppNavigation","parameters":[{"name":"id","in":"path","description":"id of kill app object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Navigation retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/navigation"}}}},"404":{"description":"Target kill app object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/overrides/killapps/{id}":{"get":{"tags":["overrides"],"summary":"Get override kill app","description":"Gets an override kill app object","operationId":"getOverrideKillApp","parameters":[{"name":"id","in":"path","description":"id of override kill app object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Override kill app retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/overrideKillApp"}}}},"404":{"description":"Target override kill app object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]},"put":{"tags":["overrides"],"summary":"Update override kill app","description":"Updates an override kill app object","operationId":"updateOverrideKillApp","parameters":[{"name":"id","in":"path","description":"id of override kill app object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/overrideKillApp"}}},"required":true},"responses":{"200":{"description":"Successful response - Override kill app updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/overrideKillApp"}}}},"404":{"description":"Target override kill app object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["overrides"],"summary":"Delete override kill app","description":"Deletes an override kill app object","operationId":"deleteOverrideKillApp","parameters":[{"name":"id","in":"path","description":"id of override kill app object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Override kill app deleted","content":{}},"404":{"description":"Target override kill app object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/overrides/killapps/{id}/navigation":{"get":{"tags":["overrides"],"summary":"Get navigation","description":"Gets prev/next ids for an override kill app object","operationId":"getOverrideKillAppNavigation","parameters":[{"name":"id","in":"path","description":"id of override kill app object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Navigation retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/navigation"}}}},"404":{"description":"Target override kill app object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/patches/{id}":{"get":{"tags":["patches"],"summary":"Get patch","description":"Gets a patch object","operationId":"getPatch","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Patch retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/patch"}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]},"put":{"tags":["patches"],"summary":"Update patch","description":"Updates a patch object","operationId":"updatePatch","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/patchObj"}}},"required":true},"responses":{"200":{"description":"Successful response - Patch updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/patch"}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["patches"],"summary":"Delete patch","description":"Deletes a patch object","operationId":"deletePatch","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Patch deleted","content":{}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/patches/{id}/capabilities":{"post":{"tags":["patches"],"summary":"Create capability","description":"Creates a capability for a patch object","operationId":"addCapability","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability"}}},"required":true},"responses":{"200":{"description":"Successful response - Capability created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability"}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/patches/{id}/capabilities/autofill":{"get":{"tags":["patches"],"summary":"Get autofill capabilities","description":"Gets autofill capabilities for a patch object","operationId":"getAutoFillCapabilities","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Autofill data retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/capabilityAutoFill"}}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/patches/{id}/components":{"post":{"tags":["patches"],"summary":"Create component","description":"Creates a component for a patch object","operationId":"addComponent","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/component"}}},"required":true},"responses":{"200":{"description":"Successful response - Component created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/component"}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/patches/{id}/components/autofill":{"get":{"tags":["patches"],"summary":"Get autofill components","description":"Gets autofill components for a patch object","operationId":"getAutoFillComponents","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Autofill data retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/componentAutoFill"}}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/patches/{id}/killapps":{"post":{"tags":["patches"],"summary":"Create kill app","description":"Creates a kill app for a patch object","operationId":"addPatchKillApp","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/killApp"}}},"required":true},"responses":{"200":{"description":"Successful response - Kill app created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/killApp"}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/patches/{id}/killapps/autofill":{"get":{"tags":["patches"],"summary":"Get autofill kill apps","description":"Gets autofill kill apps for a patch object","operationId":"getAutoFillKillApps","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Autofill data retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/killAppAutoFill"}}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/patches/{id}/navigation":{"get":{"tags":["patches"],"summary":"Get navigation","description":"Gets prev/next ids for a patch object","operationId":"getPatchNavigation","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Navigation retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/navigation"}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/patches/{id}/clone":{"post":{"tags":["patches"],"summary":"Clone patch","description":"Create clone of a patch","operationId":"clonePatch","parameters":[{"name":"id","in":"path","description":"id of patch object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/patchClone"}}},"required":true},"responses":{"200":{"description":"Successful response - Patch cloned","content":{"application/json":{"schema":{"$ref":"#/components/schemas/patch"}}}},"404":{"description":"Target patch object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/preferences/{key}":{"get":{"tags":["preferences"],"summary":"Get preference","description":"Gets a preferences object","operationId":"getPreference","parameters":[{"name":"key","in":"path","description":"key of preferences object","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response - Preference retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/preference"}}}},"404":{"description":"Target preferences object does not exist","content":{}}},"security":[{"bearer":["read:preferences"]}]},"put":{"tags":["preferences"],"summary":"Set preference","description":"Sets a preferences object","operationId":"setPreference","parameters":[{"name":"key","in":"path","description":"key of preferences object","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/preference"}}},"required":true},"responses":{"200":{"description":"Successful response - Preference updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/preference"}}}},"404":{"description":"Target preferences object does not exist","content":{}}},"security":[{"bearer":["write:preferences"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["preferences"],"summary":"Delete preference","description":"Deletes a preferences object","operationId":"deletePreference","parameters":[{"name":"key","in":"path","description":"key of preferences object","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Successful response - Preference deleted","content":{}},"404":{"description":"Target preferences object does not exist","content":{}}},"security":[{"bearer":["write:preferences"]}]}},"/privileges/{id}":{"delete":{"tags":["privileges"],"summary":"Delete privilege","description":"Deletes a privilege object","operationId":"deletePrivilege","parameters":[{"name":"id","in":"path","description":"id of privilege object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Privilege deleted","content":{}},"404":{"description":"Target privilege object does not exist","content":{}}},"security":[{"bearer":["write:users"]}]}},"/requirements/{id}":{"put":{"tags":["requirements"],"summary":"Update requirement","description":"Updates a requirement object","operationId":"updateRequirement","parameters":[{"name":"id","in":"path","description":"id of requirement object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/requirement"}}},"required":true},"responses":{"200":{"description":"Successful response - Requirement updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/requirement"}}}},"404":{"description":"Target requirement object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["requirements"],"summary":"Delete requirement","description":"Deletes a requirement object","operationId":"deleteRequirement","parameters":[{"name":"id","in":"path","description":"id of requirement object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Requirement deleted","content":{}},"404":{"description":"Target requirement object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/smtpserver":{"get":{"tags":["smtpserver"],"summary":"Get smtp server","description":"Gets the smtp server object","operationId":"getSmtpServer","responses":{"200":{"description":"Successful response - SMTP server retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/smtpServer"}}}}},"security":[{"bearer":["read:preferences"]}]},"put":{"tags":["smtpserver"],"summary":"Update smtp server","description":"Updates the smtp server object","operationId":"setSmtpServer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/smtpServer"}}},"required":true},"responses":{"200":{"description":"Successful response - SMTP server updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/smtpServer"}}}}},"security":[{"bearer":["write:preferences"]}],"x-codegen-request-body-name":"body"},"post":{"tags":["smtpserver"],"summary":"Test smtp server","description":"Test the smtp server configuration","operationId":"testSmtpServer","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/emailRecipient"}}},"required":true},"responses":{"204":{"description":"Successful response - Email sent","content":{}},"503":{"description":"Email failed to send","content":{}}},"security":[{"bearer":["read:preferences"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["smtpserver"],"summary":"Delete smtp server","description":"Deletes the smtp server object","operationId":"deleteSmtpServer","responses":{"204":{"description":"Successful response - SMTP server deleted","content":{}}},"security":[{"bearer":["write:preferences"]}]}},"/softwaretitles":{"get":{"tags":["softwaretitles"],"summary":"Get software titles","description":"Gets all software title objects","operationId":"getSoftwareTitles","responses":{"200":{"description":"Successful response - Software titles retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/softwareTitleList"}}}}}},"security":[{"bearer":["read:softwaretitles"]}]},"post":{"tags":["softwaretitles"],"summary":"Create software title","description":"Creates a software title object","operationId":"addSoftwareTitle","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/softwareTitle"}}},"required":true},"responses":{"200":{"description":"Successful response - Software title created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/softwareTitle"}}}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/softwaretitles/{id}":{"get":{"tags":["softwaretitles"],"summary":"Get software title","description":"Gets a software title object","operationId":"getSoftwareTitle","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Software title retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/softwareTitle"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]},"put":{"tags":["softwaretitles"],"summary":"Update software title","description":"Updates a software title object","operationId":"updateSoftwareTitle","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/softwareTitleObj"}}},"required":true},"responses":{"200":{"description":"Successful response - Software title updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/softwareTitle"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["softwaretitles"],"summary":"Delete software title","description":"Deletes a software title object","operationId":"deleteSoftwareTitle","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Software title deleted","content":{}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}]}},"/softwaretitles/{id}/extensionattributes":{"post":{"tags":["softwaretitles"],"summary":"Create extension attribute","description":"Creates an extension attribute for a software title object","operationId":"addExtensionAttribute","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/extensionAttribute"}}},"required":true},"responses":{"200":{"description":"Successful response - Extension attribute created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/extensionAttribute"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/softwaretitles/{id}/patches":{"post":{"tags":["softwaretitles"],"summary":"Create patch","description":"Creates a patch for a software title object","operationId":"addPatch","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/patch"}}},"required":true},"responses":{"200":{"description":"Successful response - Patch created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/patch"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/softwaretitles/{id}/patches/autofill":{"get":{"tags":["softwaretitles"],"summary":"Get autofill patches","description":"Gets autofill patches for a software title object","operationId":"getAutoFillPatches","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Autofill data retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/patchAutoFill"}}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/softwaretitles/{id}/requirements":{"post":{"tags":["softwaretitles"],"summary":"Create requirement","description":"Creates a requirement for a software title object","operationId":"addRequirement","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/requirement"}}},"required":true},"responses":{"200":{"description":"Successful response - Requirement created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/requirement"}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["write:softwaretitles"]}],"x-codegen-request-body-name":"body"}},"/softwaretitles/{id}/requirements/autofill":{"get":{"tags":["softwaretitles"],"summary":"Get autofill requirements","description":"Gets autofill requirements for a software title object","operationId":"getAutoFillRequirements","parameters":[{"name":"id","in":"path","description":"id of software title object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Autofill data retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/requirementAutoFill"}}}}},"404":{"description":"Target software title object does not exist","content":{}}},"security":[{"bearer":["read:softwaretitles"]}]}},"/sources":{"get":{"tags":["sources"],"summary":"Get sources","description":"Gets all external patch source objects","operationId":"getSources","responses":{"200":{"description":"Successful response - Sources retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/source"}}}}}},"security":[{"bearer":["read:preferences"]}]},"post":{"tags":["sources"],"summary":"Create source","description":"Creates an external patch source object","operationId":"addSource","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}},"required":true},"responses":{"200":{"description":"Successful response - Source created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}}}},"security":[{"bearer":["write:preferences"]}],"x-codegen-request-body-name":"body"}},"/sources/{id}":{"get":{"tags":["sources"],"summary":"Get source","description":"Gets an external patch source object","operationId":"getSource","parameters":[{"name":"id","in":"path","description":"id of source object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Source retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}}},"404":{"description":"Target source object does not exist","content":{}}},"security":[{"bearer":["read:preferences"]}]},"put":{"tags":["sources"],"summary":"Update source","description":"Updates an external patch source object","operationId":"updateSource","parameters":[{"name":"id","in":"path","description":"id of source object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}},"required":true},"responses":{"200":{"description":"Successful response - Source updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}}},"404":{"description":"Target source object does not exist","content":{}}},"security":[{"bearer":["write:preferences"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["sources"],"summary":"Delete source","description":"Deletes an external patch source object","operationId":"deleteSource","parameters":[{"name":"id","in":"path","description":"id of source object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - Source deleted","content":{}},"404":{"description":"Target source object does not exist","content":{}}},"security":[{"bearer":["write:preferences"]}]}},"/users":{"get":{"tags":["users"],"summary":"Get users","description":"Gets all user objects","operationId":"getUsers","responses":{"200":{"description":"Successful response - Users retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/user"}}}}}},"security":[{"bearer":["read:users"]}]},"post":{"tags":["users"],"summary":"Create user","description":"Creates a user object","operationId":"addUser","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/userCreate"}}},"required":true},"responses":{"200":{"description":"Successful response - User created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}}},"security":[{"bearer":["write:users"]}],"x-codegen-request-body-name":"body"}},"/users/{id}":{"get":{"tags":["users"],"summary":"Get user","description":"Gets a user object","operationId":"getUser","parameters":[{"name":"id","in":"path","description":"id of user object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - User retrieved","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}},"404":{"description":"Target user object does not exist","content":{}}},"security":[{"bearer":["read:users"]}]},"put":{"tags":["users"],"summary":"Update user","description":"Updates a user object","operationId":"updateUser","parameters":[{"name":"id","in":"path","description":"id of user object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}},"required":true},"responses":{"200":{"description":"Successful response - User updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}},"404":{"description":"Target user object does not exist","content":{}}},"security":[{"bearer":["write:users"]}],"x-codegen-request-body-name":"body"},"delete":{"tags":["users"],"summary":"Delete user","description":"Deletes a user object","operationId":"deleteUser","parameters":[{"name":"id","in":"path","description":"id of user object","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"Successful response - User deleted","content":{}},"404":{"description":"Target user object does not exist","content":{}}},"security":[{"bearer":["write:users"]}]}},"/users/{id}/privileges":{"get":{"tags":["users"],"summary":"Get privileges","description":"Gets all privileges for a user object","operationId":"getUserPrivileges","parameters":[{"name":"id","in":"path","description":"id of user object","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response - Privileges retrieved","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/privilege"}}}}},"404":{"description":"Target user object does not exist","content":{}}},"security":[{"bearer":["read:users"]}]},"post":{"tags":["users"],"summary":"Create privilege","description":"Creates a privilege for a user object","operationId":"addPrivilege","parameters":[{"name":"id","in":"path","description":"id of user object","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/privilegeAdd"}}},"required":true},"responses":{"200":{"description":"Successful response - Privilege created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/privilege"}}}},"404":{"description":"Target user object does not exist","content":{}}},"security":[{"bearer":["write:users"]}],"x-codegen-request-body-name":"body"}},"/valuelists/auth/schemes":{"get":{"tags":["valuelists"],"summary":"Get authentication schemes","description":"Gets value list for authentication schemes","operationId":"getAuthSchemes","responses":{"200":{"description":"Successful response - List retrieved","content":{}}},"security":[{"bearer":[]}]}},"/valuelists/criteria/names":{"get":{"tags":["valuelists"],"summary":"Get criteria names","description":"Gets value list for criteria names","operationId":"getCriteriaNames","responses":{"200":{"description":"Successful response - List retrieved","content":{}}},"security":[{"bearer":[]}]}},"/valuelists/criteria/operators":{"post":{"tags":["valuelists"],"summary":"Get criteria operators","description":"Gets value list for criteria operators","operationId":"getCriteriaOperators","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/criteriaName"}}},"required":true},"responses":{"200":{"description":"Successful response - List retrieved","content":{}}},"security":[{"bearer":[]}],"x-codegen-request-body-name":"body"}},"/valuelists/criteria/types":{"get":{"tags":["valuelists"],"summary":"Get criteria types","description":"Gets value list for criteria types","operationId":"getCriteriaTypes","responses":{"200":{"description":"Successful response - List retrieved","content":{}}},"security":[{"bearer":[]}]}},"/valuelists/preferences/keys":{"get":{"tags":["valuelists"],"summary":"Get preference keys","description":"Gets value list for preference keys","operationId":"getPreferenceKeys","responses":{"200":{"description":"Successful response - List retrieved","content":{}}},"security":[{"bearer":[]}]}},"/valuelists/preferences/types":{"get":{"tags":["valuelists"],"summary":"Get preference types","description":"Gets value list for preference types","operationId":"getPreferenceTypes","responses":{"200":{"description":"Successful response - List retrieved","content":{}}},"security":[{"bearer":[]}]}},"/valuelists/privileges/scopes":{"get":{"tags":["valuelists"],"summary":"Get privilege scopes","description":"Gets value list for privilege scopes","operationId":"getPrivileges","responses":{"200":{"description":"Successful response - List retrieved","content":{}}},"security":[{"bearer":[]}]}},"/valuelists/smtp/encryption":{"get":{"tags":["valuelists"],"summary":"Get smtp encryption types","description":"Gets value list for smtp encryption types","operationId":"getSmtpEncryption","responses":{"200":{"description":"Successful response - List retrieved","content":{}}},"security":[{"bearer":[]}]}}},"components":{"schemas":{"authToken":{"type":"object","properties":{"token":{"type":"string","example":"aaa.bbb.ccc"},"expires":{"type":"integer","example":1577836800}}},"availableTitle":{"type":"object","properties":{"name":{"type":"string","example":"My Title"},"publisher":{"type":"string","example":"Publisher"},"lastModified":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"currentVersion":{"type":"string","example":"2.0"},"id":{"type":"string","example":"MyTitle"},"sourceId":{"type":"integer","example":1},"sourceName":{"type":"string","example":"Title Editor"}}},"capability":{"required":["name","operator","type"],"type":"object","properties":{"capabilityId":{"type":"integer","example":0},"patchId":{"type":"integer","example":1},"absoluteOrderId":{"type":"integer","example":0},"and":{"type":"boolean","example":true},"name":{"type":"string","example":"Operating System Version"},"operator":{"type":"string","example":"greater than or equal"},"value":{"type":"string","example":"10.12"},"type":{"type":"string","example":"recon"}}},"capabilityAutoFill":{"type":"object","properties":{"name":{"type":"string","example":"Operating System Version"},"operator":{"type":"string","example":"greater than or equal"},"value":{"type":"string","example":"10.12"},"type":{"type":"string","example":"recon"}}},"certificate":{"required":["certificateStore"],"type":"object","properties":{"certificateStore":{"type":"string","example":"QmFzZTY0IGVuY29kZWQgY2VydGlmaWNhdGUgYnVuZGxlIGluIHBrY3MxMiBmb3JtYXQ="},"password":{"type":"string","example":"password"}}},"certificateInfo":{"type":"object","properties":{"subject":{"type":"string","example":"C=XX, ST=Some State, L=Some City, O=Some Company, OU=Some Department, CN=Title Editor"},"serialNumber":{"type":"string","example":"117884381040581542028523049580942716270"},"validTo":{"type":"string","format":"date-time","example":"2022-01-01T00:00:00.000Z"},"extendedKeyUsage":{"type":"string","example":"Code Signing"}}},"classicApiResource":{"type":"object","properties":{"object_name":{"type":"object","properties":{},"example":{"id":0}}}},"component":{"required":["name","version"],"type":"object","properties":{"componentId":{"type":"integer","example":0},"patchId":{"type":"integer","example":1},"name":{"type":"string","example":"Component Name"},"version":{"type":"string","example":"1.0"},"criteria":{"type":"array","items":{"$ref":"#/components/schemas/criteria"}}}},"componentAutoFill":{"type":"object","properties":{"name":{"type":"string","example":"My Application"},"version":{"type":"string","example":"1.0"}}},"componentObj":{"required":["name","version"],"type":"object","properties":{"componentId":{"type":"integer","example":0},"patchId":{"type":"integer","example":1},"name":{"type":"string","example":"Component Name"},"version":{"type":"string","example":"1.0"}}},"criteria":{"required":["name","operator","type"],"type":"object","properties":{"criteriaId":{"type":"integer","example":0},"componentId":{"type":"integer","example":1},"absoluteOrderId":{"type":"integer","example":0},"and":{"type":"boolean","example":true},"name":{"type":"string","example":"Application Bundle ID"},"operator":{"type":"string","example":"is"},"value":{"type":"string","example":"com.example.myapp"},"type":{"type":"string","example":"recon"}}},"criteriaAutoFill":{"type":"object","properties":{"name":{"type":"string","example":"Application Bundle ID"},"operator":{"type":"string","example":"is"},"value":{"type":"string","example":"com.example.myapp"},"type":{"type":"string","example":"recon"}}},"criteriaName":{"required":["name"],"type":"object","properties":{"name":{"type":"string","example":"Application Bundle ID"}}},"emailRecipient":{"required":["recipient"],"type":"object","properties":{"recipient":{"type":"string","example":"user@example.com"}}},"extensionAttribute":{"required":["displayName","key"],"type":"object","properties":{"extensionAttributeId":{"type":"integer","example":0},"softwareTitleId":{"type":"integer","example":0},"key":{"type":"string","example":"my-app-version"},"value":{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$","type":"string","format":"byte","example":"IyEvYmluL3NoCgplY2hvICI8cmVzdWx0PjIuMDwvcmVzdWx0PiIKCmV4aXQgMA=="},"displayName":{"type":"string","example":"My App Version"}}},"externalCapability":{"type":"object","properties":{"name":{"type":"string","example":"Operating System Version"},"operator":{"type":"string","example":"greater than or equal"},"value":{"type":"string","example":"10.12"},"type":{"type":"string","example":"recon"},"and":{"type":"boolean","example":true}}},"externalComponent":{"type":"object","properties":{"name":{"type":"string","example":"My Application"},"version":{"type":"string","example":"1.0"},"criteria":{"type":"array","items":{"$ref":"#/components/schemas/externalCriteria"}}}},"externalCriteria":{"type":"object","properties":{"name":{"type":"string","example":"Application Bundle ID"},"operator":{"type":"string","example":"is"},"value":{"type":"string","example":"com.example.myapp"},"type":{"type":"string","example":"recon"},"and":{"type":"boolean","example":true}}},"externalDependency":{"type":"object","properties":{"name":{"type":"string","example":"Application Version"},"operator":{"type":"string","example":"like"},"value":{"type":"string","example":"2.0"},"type":{"type":"string","example":"recon"},"and":{"type":"boolean","example":true}}},"externalExtensionAttribute":{"type":"object","properties":{"key":{"type":"string","example":"my-app-version"},"value":{"pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$","type":"string","format":"byte","example":"IyEvYmluL3NoCgplY2hvICI8cmVzdWx0PjIuMDwvcmVzdWx0PiIKCmV4aXQgMA=="},"displayName":{"type":"string","example":"My App Version"}}},"externalKillApp":{"type":"object","properties":{"bundleId":{"type":"string","example":"com.example.myapp"},"appName":{"type":"string","example":"My Application.app"}}},"externalPatch":{"type":"object","properties":{"version":{"type":"string","example":"1.0"},"releaseDate":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"standalone":{"type":"boolean","example":true},"minimumOperatingSystem":{"type":"string","example":"10.12"},"reboot":{"type":"boolean","example":false},"killApps":{"type":"array","items":{"$ref":"#/components/schemas/externalKillApp"}},"components":{"type":"array","items":{"$ref":"#/components/schemas/externalComponent"}},"capabilities":{"type":"array","items":{"$ref":"#/components/schemas/externalCapability"}},"dependencies":{"type":"array","items":{"$ref":"#/components/schemas/externalDependency"}}}},"externalRequirement":{"type":"object","properties":{"name":{"type":"string","example":"Application Bundle ID"},"operator":{"type":"string","example":"is"},"value":{"type":"string","example":"com.example.myapp"},"type":{"type":"string","example":"recon"},"and":{"type":"boolean","example":true}}},"externalTitle":{"type":"object","properties":{"name":{"type":"string","example":"My Title"},"publisher":{"type":"string","example":"Publisher"},"appName":{"type":"string","example":"My Application.app"},"bundleId":{"type":"string","example":"com.example.myapp"},"lastModified":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"currentVersion":{"type":"string","example":"1.0"},"requirements":{"type":"array","items":{"$ref":"#/components/schemas/externalRequirement"}},"patches":{"type":"array","items":{"$ref":"#/components/schemas/externalPatch"}},"extensionAttributes":{"type":"array","items":{"$ref":"#/components/schemas/externalExtensionAttribute"}},"id":{"type":"string","example":"MyTitle"}}},"killApp":{"required":["appName","bundleId"],"type":"object","properties":{"killAppId":{"type":"integer","example":0},"patchId":{"type":"integer","example":1},"bundleId":{"type":"string","example":"com.example.myapp"},"appName":{"type":"string","example":"My Application.app"}}},"killAppAutoFill":{"type":"object","properties":{"bundleId":{"type":"string","example":"com.example.myapp"},"appName":{"type":"string","example":"My Application.app"}}},"navigation":{"type":"object","properties":{"prevId":{"type":"integer","example":1},"nextId":{"type":"integer","example":3}}},"override":{"required":["softwareTitleId"],"type":"object","properties":{"softwareTitleId":{"type":"integer","example":1},"currentVersion":{"type":"string","example":"1.0"},"lastModified":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"reboot":{"type":"boolean","example":false},"killApps":{"type":"boolean","example":true}}},"overrideKillApp":{"required":["appName","bundleId"],"type":"object","properties":{"killAppId":{"type":"integer","example":0},"softwareTitleId":{"type":"integer","example":1},"bundleId":{"type":"string","example":"com.example.myapp"},"appName":{"type":"string","example":"My Application.app"}}},"patch":{"required":["minimumOperatingSystem","version"],"type":"object","properties":{"patchId":{"type":"integer","example":0},"softwareTitleId":{"type":"integer","example":1},"absoluteOrderId":{"type":"integer","example":0},"enabled":{"type":"boolean","example":true},"version":{"type":"string","example":"1.0"},"releaseDate":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"standalone":{"type":"boolean","example":true},"minimumOperatingSystem":{"type":"string","example":"10.12"},"reboot":{"type":"boolean","example":false},"killApps":{"type":"array","items":{"$ref":"#/components/schemas/killApp"}},"components":{"type":"array","items":{"$ref":"#/components/schemas/component"}},"capabilities":{"type":"array","items":{"$ref":"#/components/schemas/capability"}}}},"patchClone":{"required":["version"],"type":"object","properties":{"version":{"type":"string","example":"1.0"}}},"patchAutoFill":{"type":"object","properties":{"standalone":{"type":"boolean","example":true},"minimumOperatingSystem":{"type":"string","example":"10.12"},"reboot":{"type":"boolean","example":false}}},"patchObj":{"required":["minimumOperatingSystem","version"],"type":"object","properties":{"patchId":{"type":"integer","example":0},"softwareTitleId":{"type":"integer","example":1},"absoluteOrderId":{"type":"integer","example":0},"enabled":{"type":"boolean","example":true},"version":{"type":"string","example":"1.0"},"releaseDate":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"standalone":{"type":"boolean","example":true},"minimumOperatingSystem":{"type":"string","example":"10.12"},"reboot":{"type":"boolean","example":false}}},"preference":{"required":["key","value"],"type":"object","properties":{"key":{"type":"string","example":"codeSign"},"type":{"type":"string","example":"bool"},"value":{"type":"string","example":"true"}}},"privilege":{"required":["privilege","userId"],"type":"object","properties":{"privilegeId":{"type":"integer","example":0},"userId":{"type":"integer","example":1},"privilege":{"type":"string","example":"read:softwaretitles"}}},"privilegeAdd":{"required":["privilege"],"type":"object","properties":{"privilege":{"type":"string","example":"read:softwaretitles"}}},"requirement":{"required":["name","operator","type"],"type":"object","properties":{"requirementId":{"type":"integer","example":0},"softwareTitleId":{"type":"integer","example":1},"absoluteOrderId":{"type":"integer","example":0},"and":{"type":"boolean","example":true},"name":{"type":"string","example":"Application Bundle ID"},"operator":{"type":"string","example":"is"},"value":{"type":"string","example":"com.example.myapp"},"type":{"type":"string","example":"recon"}}},"requirementAutoFill":{"type":"object","properties":{"name":{"type":"string","example":"Application Bundle ID"},"operator":{"type":"string","example":"is"},"value":{"type":"string","example":"com.example.myapp"},"type":{"type":"string","example":"recon"}}},"smtpServer":{"required":["host","port","senderEmail"],"type":"object","properties":{"host":{"type":"string","example":"mail.example.com"},"port":{"type":"integer","example":587},"encryption":{"type":"string","example":"tls"},"authRequired":{"type":"boolean","example":true},"username":{"type":"string","example":"username@example.com"},"password":{"type":"string","example":"mailpasswd"},"senderEmail":{"type":"string","example":"noreply@example.com"},"senderName":{"type":"string","example":"No Reply"}}},"softwareTitle":{"type":"object","properties":{"softwareTitleId":{"type":"integer","example":0},"sourceId":{"type":"integer","example":0},"enabled":{"type":"boolean","example":true},"name":{"type":"string","example":"My Title"},"publisher":{"type":"string","example":"Publisher"},"appName":{"type":"string","example":"My Application.app"},"bundleId":{"type":"string","example":"com.example.myapp"},"lastModified":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"currentVersion":{"type":"string","example":"1.0"},"requirements":{"type":"array","items":{"$ref":"#/components/schemas/requirement"}},"patches":{"type":"array","items":{"$ref":"#/components/schemas/patch"}},"extensionAttributes":{"type":"array","items":{"$ref":"#/components/schemas/extensionAttribute"}},"id":{"type":"string","example":"MyTitle"}}},"softwareTitleObj":{"required":["currentVersion","id","name","publisher"],"type":"object","properties":{"softwareTitleId":{"type":"integer","example":0},"sourceId":{"type":"integer","example":0},"enabled":{"type":"boolean","example":true},"name":{"type":"string","example":"My Title"},"publisher":{"type":"string","example":"Publisher"},"appName":{"type":"string","example":"My Application.app"},"bundleId":{"type":"string","example":"com.example.myapp"},"lastModified":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"currentVersion":{"type":"string","example":"1.0"},"id":{"type":"string","example":"MyTitle"}}},"softwareTitleList":{"type":"object","properties":{"softwareTitleId":{"type":"integer","example":0},"enabled":{"type":"boolean","example":true},"name":{"type":"string","example":"My Title"},"publisher":{"type":"string","example":"Publisher"},"appName":{"type":"string","example":"My Application.app"},"bundleId":{"type":"string","example":"com.example.myapp"},"lastModified":{"type":"string","format":"date-time","example":"2020-01-01T00:00:00.000Z"},"currentVersion":{"type":"string","example":"1.0"},"requirements":{"type":"integer","example":1},"patches":{"type":"integer","example":2},"id":{"type":"string","example":"MyTitle"},"sourceId":{"type":"integer","example":0},"source":{"type":"string","example":"Local"}}},"source":{"required":["name","url"],"type":"object","properties":{"sourceId":{"type":"integer","example":0},"name":{"type":"string","example":"Title Editor"},"url":{"type":"string","example":"https://jamf-patch.jamfcloud.com"},"authScheme":{"type":"string","example":"Bearer"},"username":{"type":"string","example":null},"password":{"type":"string","example":null}}},"tokenClaims":{"type":"object","properties":{"id":{"type":"integer","example":1},"user":{"type":"string","example":"username"},"exp":{"type":"integer","example":1577836800},"iat":{"type":"integer","example":1577835900},"scope":{"type":"array","example":["read:softwaretitles","write:softwaretitles","read:subscribed","write:subscribed"],"items":{"type":"string"}},"tenantId":{"type":"string","example":"274EB3A1-5763-4AC0-A260-380117C60543"},"domain":{"type":"string","example":"https://example.appcatalog.jamfcloud.com"}}},"user":{"type":"object","properties":{"userId":{"type":"integer","example":0},"username":{"type":"string","example":"username"},"password":{"type":"string","example":"password"},"passwordModified":{"type":"integer","example":1577836800},"email":{"type":"string","example":"username@mycompany.com"},"forcePasswordChange":{"type":"boolean","example":false},"expires":{"type":"string","format":"date-time","example":"2023-01-01T00:00:00.000Z"},"webAdmin":{"type":"boolean","example":true},"disabled":{"type":"boolean","example":false}}},"userCreate":{"type":"object","properties":{"userId":{"type":"integer","example":0},"username":{"type":"string","example":"username"},"password":{"type":"string","example":"password"},"email":{"type":"string","example":"username@mycompany.com"},"forcePasswordChange":{"type":"boolean","example":false},"expires":{"type":"string","format":"date-time","example":"2023-01-01T00:00:00.000Z"},"webAdmin":{"type":"boolean","example":true},"disabled":{"type":"boolean","example":false},"privileges":{"type":"array","example":["read:softwaretitles","write:softwaretitles"],"items":{"type":"string"}}}}},"securitySchemes":{"basic":{"type":"http","scheme":"basic"},"bearer":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}