diff --git a/navbar.js b/navbar.js index 0d84348ec..80a24e2aa 100644 --- a/navbar.js +++ b/navbar.js @@ -52,6 +52,15 @@ module.exports = { }, ], }, + { + type: 'dropdown', + label: 'NERM', + position: 'left', + items: [ + {to: '#', label: 'API Specifications', className: 'navbar__section'}, + {to: '/nerm/api', label: 'NERM APIs', className: 'indent'} + ] + }, { position: 'left', label: 'Blog', diff --git a/package.json b/package.json index aae163e9a..411b145a6 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "clean-api-docs": "docusaurus clean-api-docs", "gen-api-docs:version": "docusaurus gen-api-docs:version", "clean-api-docs:version": "docusaurus clean-api-docs:version", - "gen-api-docs-all": "docusaurus gen-api-docs idn_v3 --plugin-id idn-api && docusaurus gen-api-docs idn_beta --plugin-id idn-api && docusaurus gen-api-docs iiq --plugin-id iiq-api", - "clean-api-docs-all": "docusaurus clean-api-docs idn_v3 --plugin-id idn-api && docusaurus clean-api-docs idn_beta --plugin-id idn-api && docusaurus clean-api-docs iiq --plugin-id iiq-api", + "gen-api-docs-all": "docusaurus gen-api-docs idn_v3 --plugin-id idn-api && docusaurus gen-api-docs idn_beta --plugin-id idn-api && docusaurus gen-api-docs iiq --plugin-id iiq-api && docusaurus gen-api-docs nerm --plugin-id nerm-api", + "clean-api-docs-all": "docusaurus clean-api-docs idn_v3 --plugin-id idn-api && docusaurus clean-api-docs idn_beta --plugin-id idn-api && docusaurus clean-api-docs iiq --plugin-id iiq-api && docusaurus clean-api-docs nerm --plugin-id nerm-api", "rebuild-docs": "npm run clean-api-docs-all && npm run gen-api-docs-all" }, "proxy": "http://localhost:4202", diff --git a/plugins.js b/plugins.js index 552050062..da448e3b0 100644 --- a/plugins.js +++ b/plugins.js @@ -38,6 +38,20 @@ module.exports = [ docItemComponent: '@theme/ApiItem', }, ], + [ + '@docusaurus/plugin-content-docs', + { + id: 'nerm', + path: 'products/nerm', + routeBasePath: 'nerm', + editUrl: + 'https://github.com/sailpoint-oss/developer-community-site/edit/main/', + showLastUpdateAuthor: true, + showLastUpdateTime: true, + sidebarPath: require.resolve('./products/nerm/sidebar.js'), + docItemComponent: '@theme/ApiItem', + }, + ], [ '@docusaurus/plugin-google-gtag', { @@ -93,4 +107,22 @@ module.exports = [ }, }, ], + [ + 'docusaurus-plugin-openapi-docs', + { + id: 'nerm-api', + docsPluginId: 'nerm', + config: { + nerm: { + specPath: 'static/api-specs/nerm/openapi.yaml', + outputDir: 'products/nerm/api', + sidebarOptions: { + groupPathsBy: 'tag', + categoryLinkSource: 'tag', + }, + template: 'api.mustache', + }, + }, + }, + ] ]; diff --git a/products/nerm/api/delete-attribute-option.api.mdx b/products/nerm/api/delete-attribute-option.api.mdx new file mode 100644 index 000000000..bf1143bbd --- /dev/null +++ b/products/nerm/api/delete-attribute-option.api.mdx @@ -0,0 +1,39 @@ +--- +id: delete-attribute-option +sidebar_label: Delete a option based attribute value by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"deleteAttributeOption","description":"Delete a option based attribute value by id","tags":["attribute options"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Confirmation of a deleted object","content":{"application/json":{"schema":{"type":"object","properties":{"info":{"type":"string","default":"The option '{Option Value}' has been deleted"}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"delete","path":"/ne_attribute_options/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Delete a option based attribute value by id","description":{"content":"Delete a option based attribute value by id","type":"text/plain"},"url":{"path":["ne_attribute_options",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE"}} +sidebar_class_name: "delete api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Delete a option based attribute value by id' (delete-attribute-option)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Delete a option based attribute value by id + + + +Delete a option based attribute value by id + +
Path Parameters
+ +Confirmation of a deleted object + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/delete-profile-type.api.mdx b/products/nerm/api/delete-profile-type.api.mdx new file mode 100644 index 000000000..d4d5099a9 --- /dev/null +++ b/products/nerm/api/delete-profile-type.api.mdx @@ -0,0 +1,39 @@ +--- +id: delete-profile-type +sidebar_label: Delete profile type +hide_title: true +hide_table_of_contents: true +api: {"operationId":"deleteProfileType","description":"Delete a profile type. All profiles of that type must first be destroyed before the profile type can be destroyed.","tags":["profile types"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Info about the operation","content":{"application/json":{"schema":{"type":"object","properties":{"info":{"description":"A message confirming the operation","example":"object deleted"}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"delete","path":"/profile_types/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Delete profile type","description":{"content":"Delete a profile type. All profiles of that type must first be destroyed before the profile type can be destroyed.","type":"text/plain"},"url":{"path":["profile_types",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE"}} +sidebar_class_name: "delete api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Delete profile type' (delete-profile-type)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Delete profile type + + + +Delete a profile type. All profiles of that type must first be destroyed before the profile type can be destroyed. + +
Path Parameters
+ +Info about the operation + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/delete-profiles.api.mdx b/products/nerm/api/delete-profiles.api.mdx new file mode 100644 index 000000000..83251271e --- /dev/null +++ b/products/nerm/api/delete-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: delete-profiles +sidebar_label: Delete multiple profiles +hide_title: true +hide_table_of_contents: true +api: {"operationId":"deleteProfiles","description":"Delete multiple profiles","tags":["profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"delete","path":"/profiles","jsonRequestBodyExample":{"profiles":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Delete multiple profiles","description":{"content":"Delete multiple profiles","type":"text/plain"},"url":{"path":["profiles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "delete api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Delete multiple profiles' (delete-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Delete multiple profiles + + + +Delete multiple profiles + +
Request Body required
    profiles object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
  • job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/delete-role-profile.api.mdx b/products/nerm/api/delete-role-profile.api.mdx new file mode 100644 index 000000000..9b802a4f7 --- /dev/null +++ b/products/nerm/api/delete-role-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: delete-role-profile +sidebar_label: Delete a role profile assignment +hide_title: true +hide_table_of_contents: true +api: {"operationId":"deleteRoleProfile","description":"Delete a role profile assignment","tags":["role profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Role profile was destroyed","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"delete","path":"/role_profile/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Delete a role profile assignment","description":{"content":"Delete a role profile assignment","type":"text/plain"},"url":{"path":["role_profile",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE"}} +sidebar_class_name: "delete api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Delete a role profile assignment' (delete-role-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Delete a role profile assignment + + + +Delete a role profile assignment + +
Path Parameters
+ +Role profile was destroyed + +
Schema
  • object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/delete-user-profile.api.mdx b/products/nerm/api/delete-user-profile.api.mdx new file mode 100644 index 000000000..02f26762d --- /dev/null +++ b/products/nerm/api/delete-user-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: delete-user-profile +sidebar_label: Delete a user profile assignment +hide_title: true +hide_table_of_contents: true +api: {"operationId":"deleteUserProfile","description":"Delete a user profile assignment","tags":["user profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"User profile was destroyed","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"delete","path":"/user_profile/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Delete a user profile assignment","description":{"content":"Delete a user profile assignment","type":"text/plain"},"url":{"path":["user_profile",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE"}} +sidebar_class_name: "delete api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Delete a user profile assignment' (delete-user-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Delete a user profile assignment + + + +Delete a user profile assignment + +
Path Parameters
+ +User profile was destroyed + +
Schema
  • object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/delete-user-role.api.mdx b/products/nerm/api/delete-user-role.api.mdx new file mode 100644 index 000000000..3faf52bd3 --- /dev/null +++ b/products/nerm/api/delete-user-role.api.mdx @@ -0,0 +1,39 @@ +--- +id: delete-user-role +sidebar_label: Delete a user role assignment +hide_title: true +hide_table_of_contents: true +api: {"operationId":"deleteUserRole","description":"Delete a user role assignment","tags":["user roles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"User role was destroyed","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"delete","path":"/user_role/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Delete a user role assignment","description":{"content":"Delete a user role assignment","type":"text/plain"},"url":{"path":["user_role",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE"}} +sidebar_class_name: "delete api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Delete a user role assignment' (delete-user-role)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Delete a user role assignment + + + +Delete a user role assignment + +
Path Parameters
+ +User role was destroyed + +
Schema
  • object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/delete-user.api.mdx b/products/nerm/api/delete-user.api.mdx new file mode 100644 index 000000000..eb11392f3 --- /dev/null +++ b/products/nerm/api/delete-user.api.mdx @@ -0,0 +1,39 @@ +--- +id: delete-user +sidebar_label: Delete a user +hide_title: true +hide_table_of_contents: true +api: {"operationId":"deleteUser","description":"Delete a user","tags":["users"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Info about the operation","content":{"application/json":{"schema":{"type":"object","properties":{"info":{"description":"A message confirming the operation","example":"object deleted"}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"delete","path":"/users/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Delete a user","description":{"content":"Delete a user","type":"text/plain"},"url":{"path":["users",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE"}} +sidebar_class_name: "delete api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Delete a user' (delete-user)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Delete a user + + + +Delete a user + +
Path Parameters
+ +Info about the operation + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-advanced-search.api.mdx b/products/nerm/api/get-advanced-search.api.mdx new file mode 100644 index 000000000..b0957b8fd --- /dev/null +++ b/products/nerm/api/get-advanced-search.api.mdx @@ -0,0 +1,31 @@ +--- +id: get-advanced-search +sidebar_label: Get saved advanced search queries +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getAdvancedSearch","description":"Get saved advanced search queries","tags":["advanced search"],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"advanced_search":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"label":{"type":"string"},"condition_rules_attributes":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileTypeRule"]},"comparison_operator":{"type":"string","enum":["==","!="]},"value":{"type":"string","format":"uuid"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileStatusRule"]},"comparison_operator":{"type":"string","enum":["==","!="]},"value":{"type":"string","enum":["Active","Inactive","Leave of absence","Terminated"]}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["TextFieldAttribute","TextAreaAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["==","!=",">","<","start_with?","end_with?","include?"]},"value":{"type":"string","required":true,"example":"Some value"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["DateAttribute"]},"condition_object_id":{"type":"string","format":"uuid"},"secondary_attribute_type":{"type":"string","enum":["DateAttribute"]},"secondary_attribute_id":{"type":"string","format":"uuid"},"comparison_operator":{"type":"string","enum":[">","<","after","before"]},"value":{"type":"string","required":true,"enum":["Today",""]},"secondary_value":{"type":"string","enum":["after","before"]},"tertiary_value":{"type":"string","example":30}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["ProfileSelectAttribute","ProfileSearchAttribute","OwnerSelectAttribute","OwnerSearchAttribute","ContributorSelectAttribute","ContributorSearchAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["include?","exclude?"]},"value":{"type":"string","required":true,"format":"uuid"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["RiskRule"]},"comparison_operator":{"type":"string","enum":["==",">","<"]},"value":{"type":"string","summary":"id of the Risk Level being compared against","required":true,"format":"uuid"},"secondary_value":{"type":"string","required":true,"enum":["OverallRisk"]}}}]}}}}}}}}}}},"method":"get","path":"/advanced_search","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get saved advanced search queries","description":{"content":"Get saved advanced search queries","type":"text/plain"},"url":{"path":["advanced_search"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get saved advanced search queries' (get-advanced-search)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get saved advanced search queries + + + +Get saved advanced search queries + +
+ +Expected response to a valid request + +
Schema
    advanced_search object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    condition_rules_attributes object[]
    anyOf= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`, `start_with?`, `end_with?`, `include?`]"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`, `after`, `before`]"} defaultValue={undefined}>`]"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`]"} defaultValue={undefined}>
\",\n \"value\": \"Today\",\n \"secondary_value\": \"after\",\n \"tertiary_value\": 30\n },\n {\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"uid\": \"string\",\n \"type\": \"ProfileAttributeRule\",\n \"condition_object_type\": \"ProfileSelectAttribute\",\n \"condition_object_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"comparison_operator\": \"include?\",\n \"value\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n },\n {\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"uid\": \"string\",\n \"type\": \"RiskRule\",\n \"comparison_operator\": \"==\",\n \"value\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"secondary_value\": \"OverallRisk\"\n }\n ]\n }\n ]\n}"} language={"json"}>
\ No newline at end of file diff --git a/products/nerm/api/get-attribute-option.api.mdx b/products/nerm/api/get-attribute-option.api.mdx new file mode 100644 index 000000000..330596ae4 --- /dev/null +++ b/products/nerm/api/get-attribute-option.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-attribute-option +sidebar_label: Find option based attribute value by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getAttributeOption","description":"Info for a specific option based attribute value","tags":["attribute options"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute_option":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/ne_attribute_options/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find option based attribute value by id","description":{"content":"Info for a specific option based attribute value","type":"text/plain"},"url":{"path":["ne_attribute_options",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find option based attribute value by id' (get-attribute-option)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find option based attribute value by id + + + +Info for a specific option based attribute value + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    ne_attribute_option object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-attribute-options.api.mdx b/products/nerm/api/get-attribute-options.api.mdx new file mode 100644 index 000000000..7dca68ddb --- /dev/null +++ b/products/nerm/api/get-attribute-options.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-attribute-options +sidebar_label: Get option based attribute values +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getAttributeOptions","description":"Get option based attribute values","tags":["attribute options"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"ne_attribute_id","in":"query","description":"ID of an attribute for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute_options":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/ne_attribute_options","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get option based attribute values","description":{"content":"Get option based attribute values","type":"text/plain"},"url":{"path":["ne_attribute_options"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"ID of an attribute for filtering","type":"text/plain"},"key":"ne_attribute_id","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get option based attribute values' (get-attribute-options)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get option based attribute values + + + +Get option based attribute values + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    ne_attribute_options object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-attribute.api.mdx b/products/nerm/api/get-attribute.api.mdx new file mode 100644 index 000000000..db7823ff2 --- /dev/null +++ b/products/nerm/api/get-attribute.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-attribute +sidebar_label: Find attribute data by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getAttribute","description":"Info for a specific attribute","tags":["attributes"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"label":{"type":"string"},"description":{"type":"string"},"tool_tip":{"type":"string"},"crypt":{"type":"boolean"},"archived":{"type":"boolean"},"archived_on":{"type":"string","format":"date-time","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"date_format":{"type":"string","enum":["mm/dd/yyyy","mm-dd-yyyy","dd/mm/yyyy","dd-mm-yyyy","yyyy/mm/dd","yyyy-mm-dd"]},"selectable_status":{"type":"string"},"risk_score_setting":{"type":"string"},"risk_type":{"type":"string"},"ownership_driver":{"type":"boolean"},"allow_multiple_selections":{"type":"boolean"},"filtered_by_ne_attribute":{"type":"boolean"},"filtering_ne_attribute_id":{"type":"string","format":"uuid"},"ne_attribute_filter_id":{"type":"string","format":"uuid"},"reverse_association_attribute_id":{"type":"string","format":"uuid"},"profile_type_id":{"type":"string","format":"uuid"},"legacy_id":{"type":"integer"},"tmp_created_at":{"type":"string","format":"date-time","readOnly":true},"tmp_updated_at":{"type":"string","format":"date-time","readOnly":true}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/ne_attributes/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find attribute data by id","description":{"content":"Info for a specific attribute","type":"text/plain"},"url":{"path":["ne_attributes",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find attribute data by id' (get-attribute)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find attribute data by id + + + +Info for a specific attribute + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    ne_attribute object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-attributes.api.mdx b/products/nerm/api/get-attributes.api.mdx new file mode 100644 index 000000000..8d9832e01 --- /dev/null +++ b/products/nerm/api/get-attributes.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-attributes +sidebar_label: Get attribute data in bulk +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getAttributes","description":"This endpoint can retrieve attribute data in bulk from Lifecycle or you can search for attributes using parameters","tags":["attributes"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"label","in":"query","description":"The attribute label to filter by","required":false,"schema":{"type":"string"}},{"name":"data_type","in":"query","description":"The attribute data type to filter by","required":false,"schema":{"type":"string","enum":["text field","text area","drop-down","radio buttons","check boxes","date","tags","attachment","profile select","profile search","owner select","owner search","contributor select","contributor search"]}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"ne_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"label":{"type":"string"},"description":{"type":"string"},"tool_tip":{"type":"string"},"crypt":{"type":"boolean"},"archived":{"type":"boolean"},"archived_on":{"type":"string","format":"date-time","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"updated_at":{"type":"string","format":"date-time","readOnly":true},"date_format":{"type":"string","enum":["mm/dd/yyyy","mm-dd-yyyy","dd/mm/yyyy","dd-mm-yyyy","yyyy/mm/dd","yyyy-mm-dd"]},"selectable_status":{"type":"string"},"risk_score_setting":{"type":"string"},"risk_type":{"type":"string"},"ownership_driver":{"type":"boolean"},"allow_multiple_selections":{"type":"boolean"},"filtered_by_ne_attribute":{"type":"boolean"},"filtering_ne_attribute_id":{"type":"string","format":"uuid"},"ne_attribute_filter_id":{"type":"string","format":"uuid"},"reverse_association_attribute_id":{"type":"string","format":"uuid"},"profile_type_id":{"type":"string","format":"uuid"},"legacy_id":{"type":"integer"},"tmp_created_at":{"type":"string","format":"date-time","readOnly":true},"tmp_updated_at":{"type":"string","format":"date-time","readOnly":true}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/ne_attributes","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get attribute data in bulk","description":{"content":"This endpoint can retrieve attribute data in bulk from Lifecycle or you can search for attributes using parameters","type":"text/plain"},"url":{"path":["ne_attributes"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"The attribute label to filter by","type":"text/plain"},"key":"label","value":""},{"disabled":false,"description":{"content":"The attribute data type to filter by","type":"text/plain"},"key":"data_type","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get attribute data in bulk' (get-attributes)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get attribute data in bulk + + + +This endpoint can retrieve attribute data in bulk from Lifecycle or you can search for attributes using parameters + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    ne_attributes object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-identity-proofing-results.api.mdx b/products/nerm/api/get-identity-proofing-results.api.mdx new file mode 100644 index 000000000..80ed94552 --- /dev/null +++ b/products/nerm/api/get-identity-proofing-results.api.mdx @@ -0,0 +1,31 @@ +--- +id: get-identity-proofing-results +sidebar_label: Get identity proofing result data in bulk +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getIdentityProofingResults","description":"This endpoint can retrieve identity proofing result data in bulk from Lifecycle","tags":["identity proofing results"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"profile_id","in":"query","description":"Profile ID to filter by","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"workflow_session_id","in":"query","description":"Workflow Session ID to filter by","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"result","in":"query","description":"ID Proofing Result to filter by","required":false,"schema":{"type":"string","enum":["pass","fail"]}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"identity_proofing_results":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"identity_proofing_action_id":{"type":"string","format":"uuid"},"workflow_session_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"proofing_workflow":{"type":"string","format":"uuid"},"result":{"type":"string","enum":["pending","pass","fail"]},"proofing_attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"result":"approve"}},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}}},"method":"get","path":"/identity_proofing_results","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get identity proofing result data in bulk","description":{"content":"This endpoint can retrieve identity proofing result data in bulk from Lifecycle","type":"text/plain"},"url":{"path":["identity_proofing_results"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Profile ID to filter by","type":"text/plain"},"key":"profile_id","value":""},{"disabled":false,"description":{"content":"Workflow Session ID to filter by","type":"text/plain"},"key":"workflow_session_id","value":""},{"disabled":false,"description":{"content":"ID Proofing Result to filter by","type":"text/plain"},"key":"result","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get identity proofing result data in bulk' (get-identity-proofing-results)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get identity proofing result data in bulk + + + +This endpoint can retrieve identity proofing result data in bulk from Lifecycle + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    identity_proofing_results object[]
    proofing_attributes object
  • property name* string
  • _metadata object
\ No newline at end of file diff --git a/products/nerm/api/get-job-status.api.mdx b/products/nerm/api/get-job-status.api.mdx new file mode 100644 index 000000000..5d6ec01d6 --- /dev/null +++ b/products/nerm/api/get-job-status.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-job-status +sidebar_label: Get the status of a bulk job +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getJobStatus","description":"Get the status of a bulk job","tags":["job status"],"parameters":[{"name":"job_id","in":"query","description":"The id of the job returned from a POST or PATCH endpoint that resulted in a job being created","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"uid":{"type":"string","format":"uuid"},"status":{"type":"string","example":"complete"},"job_type":{"type":"string","example":"import"},"job_data":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"},"errors":{"type":"array","items":{"type":"string","example":"Validation error for record in job"}}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/job_status","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get the status of a bulk job","description":{"content":"Get the status of a bulk job","type":"text/plain"},"url":{"path":["job_status"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"(Required) The id of the job returned from a POST or PATCH endpoint that resulted in a job being created","type":"text/plain"},"key":"job_id","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get the status of a bulk job' (get-job-status)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get the status of a bulk job + + + +Get the status of a bulk job + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    job_data object[]
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-profile-avatar.api.mdx b/products/nerm/api/get-profile-avatar.api.mdx new file mode 100644 index 000000000..83bbb7b67 --- /dev/null +++ b/products/nerm/api/get-profile-avatar.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-profile-avatar +sidebar_label: Retrieves the URL of the profile avatar +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getProfileAvatar","description":"Retrieves the URL of the profile avatar","tags":["profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"url","readOnly":true}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/profiles/{id}/avatar","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Retrieves the URL of the profile avatar","description":{"content":"Retrieves the URL of the profile avatar","type":"text/plain"},"url":{"path":["profiles",":id","avatar"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Retrieves the URL of the profile avatar' (get-profile-avatar)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Retrieves the URL of the profile avatar + + + +Retrieves the URL of the profile avatar + +
Path Parameters
+ +Expected response to a valid request + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-profile-type.api.mdx b/products/nerm/api/get-profile-type.api.mdx new file mode 100644 index 000000000..ecaddd341 --- /dev/null +++ b/products/nerm/api/get-profile-type.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-profile-type +sidebar_label: Find profile type by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getProfileType","description":"Find profile type by id","tags":["profile types"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profile_type":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"bypass_dup_protection":{"type":"boolean"},"archived":{"type":"boolean"},"permitted_role_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"profile_type_dup_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"}}}},"profile_type_namings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"order":{"type":"integer","minimum":0}}}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/profile_types/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find profile type by id","description":{"content":"Find profile type by id","type":"text/plain"},"url":{"path":["profile_types",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find profile type by id' (get-profile-type)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find profile type by id + + + +Find profile type by id + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    profile_type object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_dup_attributes object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_namings object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-profile-types.api.mdx b/products/nerm/api/get-profile-types.api.mdx new file mode 100644 index 000000000..565072481 --- /dev/null +++ b/products/nerm/api/get-profile-types.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-profile-types +sidebar_label: Get profile types +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getProfileTypes","description":"Get option based attribute values","tags":["profile types"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"name","in":"query","description":"object name for filtering","required":false,"schema":{"type":"string"}},{"name":"archived","in":"query","description":"Filter by archive status","required":false,"schema":{"type":"boolean","default":false}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profile_types":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"bypass_dup_protection":{"type":"boolean"},"archived":{"type":"boolean"},"permitted_role_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"profile_type_dup_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"}}}},"profile_type_namings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"order":{"type":"integer","minimum":0}}}}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/profile_types","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get profile types","description":{"content":"Get option based attribute values","type":"text/plain"},"url":{"path":["profile_types"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"object name for filtering","type":"text/plain"},"key":"name","value":""},{"disabled":false,"description":{"content":"Filter by archive status","type":"text/plain"},"key":"archived","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get profile types' (get-profile-types)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get profile types + + + +Get option based attribute values + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    profile_types object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_dup_attributes object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_namings object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-profile-upload.api.mdx b/products/nerm/api/get-profile-upload.api.mdx new file mode 100644 index 000000000..abcc0cf92 --- /dev/null +++ b/products/nerm/api/get-profile-upload.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-profile-upload +sidebar_label: Retrieves the URL of an attachment attribute value from a profile +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getProfileUpload","description":"Retrieves the URL of an attachment attribute value from a profile","tags":["profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"attribute_id","in":"path","description":"The id of the attachment attribute","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"url","readOnly":true}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/profiles/{id}/upload/{attribute_id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Retrieves the URL of an attachment attribute value from a profile","description":{"content":"Retrieves the URL of an attachment attribute value from a profile","type":"text/plain"},"url":{"path":["profiles",":id","upload",":attribute_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"},{"disabled":false,"description":{"content":"(Required) The id of the attachment attribute","type":"text/plain"},"type":"any","value":"","key":"attribute_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Retrieves the URL of an attachment attribute value from a profile' (get-profile-upload)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Retrieves the URL of an attachment attribute value from a profile + + + +Retrieves the URL of an attachment attribute value from a profile + +
Path Parameters
+ +Expected response to a valid request + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-profile.api.mdx b/products/nerm/api/get-profile.api.mdx new file mode 100644 index 000000000..2ec21ae64 --- /dev/null +++ b/products/nerm/api/get-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-profile +sidebar_label: Find profile by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getProfile","description":"Find profile by id","tags":["profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/profiles/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find profile by id","description":{"content":"Find profile by id","type":"text/plain"},"url":{"path":["profiles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find profile by id' (get-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find profile by id + + + +Find profile by id + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-profiles.api.mdx b/products/nerm/api/get-profiles.api.mdx new file mode 100644 index 000000000..4a718bd8d --- /dev/null +++ b/products/nerm/api/get-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-profiles +sidebar_label: Get profiles +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getProfiles","description":"Get profiles","tags":["profiles"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"exclude_attributes","in":"query","description":"Allows for optimization by not returning the associated attribute data for the returned profiles","required":false,"schema":{"type":"boolean","default":false}},{"name":"name","in":"query","description":"object name for filtering","required":false,"schema":{"type":"string"}},{"name":"profile_type_id","in":"query","description":"Profile Type ID for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"status","in":"query","description":"status value for filtering","required":false,"schema":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/profiles","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get profiles","description":{"content":"Get profiles","type":"text/plain"},"url":{"path":["profiles"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Allows for optimization by not returning the associated attribute data for the returned profiles","type":"text/plain"},"key":"exclude_attributes","value":""},{"disabled":false,"description":{"content":"object name for filtering","type":"text/plain"},"key":"name","value":""},{"disabled":false,"description":{"content":"Profile Type ID for filtering","type":"text/plain"},"key":"profile_type_id","value":""},{"disabled":false,"description":{"content":"status value for filtering","type":"text/plain"},"key":"status","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get profiles' (get-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get profiles + + + +Get profiles + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
  • _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-risk-level.api.mdx b/products/nerm/api/get-risk-level.api.mdx new file mode 100644 index 000000000..6c69d728f --- /dev/null +++ b/products/nerm/api/get-risk-level.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-risk-level +sidebar_label: Find risk level data by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getRiskLevel","description":"Find risk level data by id","tags":["risk levels"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"risk_level":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"label":{"type":"string"},"points":{"type":"number","multipleOf":0.01},"order":{"type":"integer","minimum":0}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/risk_levels/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find risk level data by id","description":{"content":"Find risk level data by id","type":"text/plain"},"url":{"path":["risk_levels",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find risk level data by id' (get-risk-level)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find risk level data by id + + + +Find risk level data by id + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    risk_level object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-risk-levels.api.mdx b/products/nerm/api/get-risk-levels.api.mdx new file mode 100644 index 000000000..9a1a96787 --- /dev/null +++ b/products/nerm/api/get-risk-levels.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-risk-levels +sidebar_label: Get risk level data in bulk +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getRiskLevels","description":"This endpoint can retrieve risk level data in bulk from Lifecycle","tags":["risk levels"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"label","in":"query","description":"The attribute label to filter by","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"risk_levels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"label":{"type":"string"},"points":{"type":"number","multipleOf":0.01},"order":{"type":"integer","minimum":0}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/risk_levels","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get risk level data in bulk","description":{"content":"This endpoint can retrieve risk level data in bulk from Lifecycle","type":"text/plain"},"url":{"path":["risk_levels"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"The attribute label to filter by","type":"text/plain"},"key":"label","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get risk level data in bulk' (get-risk-levels)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get risk level data in bulk + + + +This endpoint can retrieve risk level data in bulk from Lifecycle + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    risk_levels object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-risk-score.api.mdx b/products/nerm/api/get-risk-score.api.mdx new file mode 100644 index 000000000..242f04e2c --- /dev/null +++ b/products/nerm/api/get-risk-score.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-risk-score +sidebar_label: Find risk score data by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getRiskScore","description":"Find risk score data by id","tags":["risk scores"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"risk_score":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"object_id":{"type":"string","format":"uuid"},"object_type":{"type":"string","enum":["Profile","WorkflowSession"]},"overall_score":{"type":"number","multipleOf":0.01},"overall_risk_level_id":{"type":"string","format":"uuid"},"impact_score":{"type":"number","multipleOf":0.01},"impact_risk_level_id":{"type":"string","format":"uuid"},"probability_score":{"type":"number","multipleOf":0.01},"probability_risk_level_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/risk_scores/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find risk score data by id","description":{"content":"Find risk score data by id","type":"text/plain"},"url":{"path":["risk_scores",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find risk score data by id' (get-risk-score)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find risk score data by id + + + +Find risk score data by id + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    risk_score object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-risk-scores.api.mdx b/products/nerm/api/get-risk-scores.api.mdx new file mode 100644 index 000000000..9c558f660 --- /dev/null +++ b/products/nerm/api/get-risk-scores.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-risk-scores +sidebar_label: Get risk score data in bulk +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getRiskScores","description":"This endpoint can retrieve risk score data in bulk from Lifecycle","tags":["risk scores"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"object_id","in":"query","description":"ID of an object for filtering. Used along with object_type","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"object_type","in":"query","description":"Type of object that object_id represents","required":false,"schema":{"type":"string","enum":["Profile","WorkflowSession"]}},{"name":"overall_risk_level_id","in":"query","description":"Overall risk level to filter by","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"impact_risk_level_id","in":"query","description":"Impact risk level to filter by","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"probability_risk_level_id","in":"query","description":"Probability risk level to filter by","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"risk_scores":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"object_id":{"type":"string","format":"uuid"},"object_type":{"type":"string","enum":["Profile","WorkflowSession"]},"overall_score":{"type":"number","multipleOf":0.01},"overall_risk_level_id":{"type":"string","format":"uuid"},"impact_score":{"type":"number","multipleOf":0.01},"impact_risk_level_id":{"type":"string","format":"uuid"},"probability_score":{"type":"number","multipleOf":0.01},"probability_risk_level_id":{"type":"string","format":"uuid"}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/risk_scores","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get risk score data in bulk","description":{"content":"This endpoint can retrieve risk score data in bulk from Lifecycle","type":"text/plain"},"url":{"path":["risk_scores"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"ID of an object for filtering. Used along with object_type","type":"text/plain"},"key":"object_id","value":""},{"disabled":false,"description":{"content":"Type of object that object_id represents","type":"text/plain"},"key":"object_type","value":""},{"disabled":false,"description":{"content":"Overall risk level to filter by","type":"text/plain"},"key":"overall_risk_level_id","value":""},{"disabled":false,"description":{"content":"Impact risk level to filter by","type":"text/plain"},"key":"impact_risk_level_id","value":""},{"disabled":false,"description":{"content":"Probability risk level to filter by","type":"text/plain"},"key":"probability_risk_level_id","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get risk score data in bulk' (get-risk-scores)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get risk score data in bulk + + + +This endpoint can retrieve risk score data in bulk from Lifecycle + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    risk_scores object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-role-profile.api.mdx b/products/nerm/api/get-role-profile.api.mdx new file mode 100644 index 000000000..4e462ea7c --- /dev/null +++ b/products/nerm/api/get-role-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-role-profile +sidebar_label: Find role-profile contributor relationship by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getRoleProfile","description":"Find role-profile contributor relationship by id","tags":["role profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"role_profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/role_profiles/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find role-profile contributor relationship by id","description":{"content":"Find role-profile contributor relationship by id","type":"text/plain"},"url":{"path":["role_profiles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find role-profile contributor relationship by id' (get-role-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find role-profile contributor relationship by id + + + +Find role-profile contributor relationship by id + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    role_profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-role-profiles.api.mdx b/products/nerm/api/get-role-profiles.api.mdx new file mode 100644 index 000000000..684346dfd --- /dev/null +++ b/products/nerm/api/get-role-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-role-profiles +sidebar_label: Get role-profile contributor relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getRoleProfiles","description":"Get role-profile contributor relationships","tags":["role profiles"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"role_id","in":"query","description":"The ID of a role for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"profile_id","in":"query","description":"Profile ID to filter by","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"role_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/role_profiles","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get role-profile contributor relationships","description":{"content":"Get role-profile contributor relationships","type":"text/plain"},"url":{"path":["role_profiles"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"The ID of a role for filtering","type":"text/plain"},"key":"role_id","value":""},{"disabled":false,"description":{"content":"Profile ID to filter by","type":"text/plain"},"key":"profile_id","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get role-profile contributor relationships' (get-role-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get role-profile contributor relationships + + + +Get role-profile contributor relationships + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    role_profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-role.api.mdx b/products/nerm/api/get-role.api.mdx new file mode 100644 index 000000000..db4a3e92f --- /dev/null +++ b/products/nerm/api/get-role.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-role +sidebar_label: Find role by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getRole","description":"Info for a specific user role","tags":["roles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"sponsors_role"},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/roles/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find role by id","description":{"content":"Info for a specific user role","type":"text/plain"},"url":{"path":["roles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find role by id' (get-role)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find role by id + + + +Info for a specific user role + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    role object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-roles.api.mdx b/products/nerm/api/get-roles.api.mdx new file mode 100644 index 000000000..fc2cedbcc --- /dev/null +++ b/products/nerm/api/get-roles.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-roles +sidebar_label: Get roles +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getRoles","description":"This endpoint can retrieve roles from NERM. Optionally you can provide parameters to filter results.","tags":["roles"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"sponsors_role"},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/roles","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get roles","description":{"content":"This endpoint can retrieve roles from NERM. Optionally you can provide parameters to filter results.","type":"text/plain"},"url":{"path":["roles"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get roles' (get-roles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get roles + + + +This endpoint can retrieve roles from NERM. Optionally you can provide parameters to filter results. + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    roles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-user-avatar.api.mdx b/products/nerm/api/get-user-avatar.api.mdx new file mode 100644 index 000000000..278685337 --- /dev/null +++ b/products/nerm/api/get-user-avatar.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-user-avatar +sidebar_label: Retrieves the URL of the user avatar +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUserAvatar","description":"Retrieves the URL of the user avatar","tags":["users"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"url","readOnly":true}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/users/{id}/avatar","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Retrieves the URL of the user avatar","description":{"content":"Retrieves the URL of the user avatar","type":"text/plain"},"url":{"path":["users",":id","avatar"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Retrieves the URL of the user avatar' (get-user-avatar)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Retrieves the URL of the user avatar + + + +Retrieves the URL of the user avatar + +
Path Parameters
+ +Expected response to a valid request + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-user-manager.api.mdx b/products/nerm/api/get-user-manager.api.mdx new file mode 100644 index 000000000..a9c84e725 --- /dev/null +++ b/products/nerm/api/get-user-manager.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-user-manager +sidebar_label: Find user-manager relationship by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUserManager","description":"Info for a specific user-manager relationship","tags":["user managers"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_manager":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/user_managers/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find user-manager relationship by id","description":{"content":"Info for a specific user-manager relationship","type":"text/plain"},"url":{"path":["user_managers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find user-manager relationship by id' (get-user-manager)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find user-manager relationship by id + + + +Info for a specific user-manager relationship + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    user_manager object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-user-managers.api.mdx b/products/nerm/api/get-user-managers.api.mdx new file mode 100644 index 000000000..68a25c7ae --- /dev/null +++ b/products/nerm/api/get-user-managers.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-user-managers +sidebar_label: Get user-manager relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUserManagers","description":"This endpoint can retrieve user-manager relationships from Lifecycle or you can search for user-manager relationships using parameters","tags":["user managers"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"user_id","in":"query","description":"The ID of a user for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"manager_id","in":"query","description":"The ID of a user for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_managers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/user_managers","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get user-manager relationships","description":{"content":"This endpoint can retrieve user-manager relationships from Lifecycle or you can search for user-manager relationships using parameters","type":"text/plain"},"url":{"path":["user_managers"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"The ID of a user for filtering","type":"text/plain"},"key":"user_id","value":""},{"disabled":false,"description":{"content":"The ID of a user for filtering","type":"text/plain"},"key":"manager_id","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get user-manager relationships' (get-user-managers)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get user-manager relationships + + + +This endpoint can retrieve user-manager relationships from Lifecycle or you can search for user-manager relationships using parameters + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    user_managers object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-user-profile.api.mdx b/products/nerm/api/get-user-profile.api.mdx new file mode 100644 index 000000000..dfdbc12b3 --- /dev/null +++ b/products/nerm/api/get-user-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-user-profile +sidebar_label: Find user-profile contributor relationship by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUserProfile","description":"Find user-profile contributor relationship by id","tags":["user profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/user_profiles/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find user-profile contributor relationship by id","description":{"content":"Find user-profile contributor relationship by id","type":"text/plain"},"url":{"path":["user_profiles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find user-profile contributor relationship by id' (get-user-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find user-profile contributor relationship by id + + + +Find user-profile contributor relationship by id + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    user_profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-user-profiles.api.mdx b/products/nerm/api/get-user-profiles.api.mdx new file mode 100644 index 000000000..993a705ab --- /dev/null +++ b/products/nerm/api/get-user-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-user-profiles +sidebar_label: Get user-profile contributor relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUserProfiles","description":"Get user-profile contributor relationships","tags":["user profiles"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"user_id","in":"query","description":"The ID of a user for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"ne_attribute_id","in":"query","description":"ID of an attribute for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"profile_id","in":"query","description":"Profile ID to filter by","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"relationship_type","in":"query","description":"Type of user contributor relationship to filter by","required":false,"schema":{"type":"string","enum":["owner","contributor"]}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/user_profiles","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get user-profile contributor relationships","description":{"content":"Get user-profile contributor relationships","type":"text/plain"},"url":{"path":["user_profiles"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"The ID of a user for filtering","type":"text/plain"},"key":"user_id","value":""},{"disabled":false,"description":{"content":"ID of an attribute for filtering","type":"text/plain"},"key":"ne_attribute_id","value":""},{"disabled":false,"description":{"content":"Profile ID to filter by","type":"text/plain"},"key":"profile_id","value":""},{"disabled":false,"description":{"content":"Type of user contributor relationship to filter by","type":"text/plain"},"key":"relationship_type","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get user-profile contributor relationships' (get-user-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get user-profile contributor relationships + + + +Get user-profile contributor relationships + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    user_profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-user-role.api.mdx b/products/nerm/api/get-user-role.api.mdx new file mode 100644 index 000000000..a9d4c05dc --- /dev/null +++ b/products/nerm/api/get-user-role.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-user-role +sidebar_label: Find user role pairing by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUserRole","description":"Info for a specific user role pairing","tags":["user roles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_role":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/user_roles/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find user role pairing by id","description":{"content":"Info for a specific user role pairing","type":"text/plain"},"url":{"path":["user_roles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find user role pairing by id' (get-user-role)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find user role pairing by id + + + +Info for a specific user role pairing + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    user_role object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-user-roles.api.mdx b/products/nerm/api/get-user-roles.api.mdx new file mode 100644 index 000000000..1b93b5859 --- /dev/null +++ b/products/nerm/api/get-user-roles.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-user-roles +sidebar_label: Get user role pairings +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUserRoles","description":"This endpoint can retrieve user role pairings from Lifecycle or you can search for user role pairings using parameters","tags":["user roles"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"user_id","in":"query","description":"The ID of a user for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"role_id","in":"query","description":"The ID of a role for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/user_roles","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get user role pairings","description":{"content":"This endpoint can retrieve user role pairings from Lifecycle or you can search for user role pairings using parameters","type":"text/plain"},"url":{"path":["user_roles"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"The ID of a user for filtering","type":"text/plain"},"key":"user_id","value":""},{"disabled":false,"description":{"content":"The ID of a role for filtering","type":"text/plain"},"key":"role_id","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get user role pairings' (get-user-roles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get user role pairings + + + +This endpoint can retrieve user role pairings from Lifecycle or you can search for user role pairings using parameters + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    user_roles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-user.api.mdx b/products/nerm/api/get-user.api.mdx new file mode 100644 index 000000000..8dcc4b6f9 --- /dev/null +++ b/products/nerm/api/get-user.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-user +sidebar_label: Find user by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUser","description":"Info for a specific user","tags":["users"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readonly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readonly":true},"name":{"type":"string"},"email":{"type":"string","format":"email"},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"]},"login":{"type":"string"},"last_login":{"type":"string","format":"date-time","readOnly":true},"cookies_accepted_at":{"type":"string","format":"date-time","readOnly":true},"preferred_language":{"type":"string"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/users/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find user by id","description":{"content":"Info for a specific user","type":"text/plain"},"url":{"path":["users",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find user by id' (get-user)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find user by id + + + +Info for a specific user + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    user object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-users.api.mdx b/products/nerm/api/get-users.api.mdx new file mode 100644 index 000000000..e025970f1 --- /dev/null +++ b/products/nerm/api/get-users.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-users +sidebar_label: Get users +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getUsers","description":"This endpoint can retrieve users from Lifecycle or you can search for users using parameters","tags":["users"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"name","in":"query","description":"object name for filtering","required":false,"schema":{"type":"string"}},{"name":"login","in":"query","description":"The user login to search by","required":false,"schema":{"type":"string"}},{"name":"title","in":"query","description":"The user title to search by","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","description":"status value for filtering","required":false,"schema":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]}},{"name":"email","in":"query","description":"The user email to search by","required":false,"schema":{"type":"string","format":"email"}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readonly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readonly":true},"name":{"type":"string"},"email":{"type":"string","format":"email"},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"]},"login":{"type":"string"},"last_login":{"type":"string","format":"date-time","readOnly":true},"cookies_accepted_at":{"type":"string","format":"date-time","readOnly":true},"preferred_language":{"type":"string"}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/users","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get users","description":{"content":"This endpoint can retrieve users from Lifecycle or you can search for users using parameters","type":"text/plain"},"url":{"path":["users"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"object name for filtering","type":"text/plain"},"key":"name","value":""},{"disabled":false,"description":{"content":"The user login to search by","type":"text/plain"},"key":"login","value":""},{"disabled":false,"description":{"content":"The user title to search by","type":"text/plain"},"key":"title","value":""},{"disabled":false,"description":{"content":"status value for filtering","type":"text/plain"},"key":"status","value":""},{"disabled":false,"description":{"content":"The user email to search by","type":"text/plain"},"key":"email","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get users' (get-users)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get users + + + +This endpoint can retrieve users from Lifecycle or you can search for users using parameters + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    users object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-workflow-session-upload.api.mdx b/products/nerm/api/get-workflow-session-upload.api.mdx new file mode 100644 index 000000000..f9fd29825 --- /dev/null +++ b/products/nerm/api/get-workflow-session-upload.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-workflow-session-upload +sidebar_label: Retrieves the URL of an attachment attribute value from a workflow session +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getWorkflowSessionUpload","description":"Retrieves the URL of an attachment attribute value from a workflow session","tags":["workflow sessions"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"attribute_id","in":"path","description":"The id of the attachment attribute","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"url","readOnly":true}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/workflow_sessions/{id}/upload/{attribute_id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Retrieves the URL of an attachment attribute value from a workflow session","description":{"content":"Retrieves the URL of an attachment attribute value from a workflow session","type":"text/plain"},"url":{"path":["workflow_sessions",":id","upload",":attribute_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"},{"disabled":false,"description":{"content":"(Required) The id of the attachment attribute","type":"text/plain"},"type":"any","value":"","key":"attribute_id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Retrieves the URL of an attachment attribute value from a workflow session' (get-workflow-session-upload)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Retrieves the URL of an attachment attribute value from a workflow session + + + +Retrieves the URL of an attachment attribute value from a workflow session + +
Path Parameters
+ +Expected response to a valid request + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-workflow-session.api.mdx b/products/nerm/api/get-workflow-session.api.mdx new file mode 100644 index 000000000..ac79fcf3d --- /dev/null +++ b/products/nerm/api/get-workflow-session.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-workflow-session +sidebar_label: Find workflow session by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getWorkflowSession","description":"Find workflow session by id","tags":["workflow sessions"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"workflow_session":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"workflow_id":{"type":"string","format":"uuid"},"requester_id":{"type":"string","format":"uuid"},"requester_type":{"type":"string","enum":["User","NeprofileUser","NeaccessUser"]},"profile_id":{"type":"string","format":"uuid","description":"The profile this workflow session will be working with. Only Applicable for Update workflows"},"profile_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The profiles this workflow session will be working with. Only Applicable for Batch workflows"},"status":{"type":"string","enum":["api_request_sent","approved","assigned","attempting_to_start_workflow","AUTH-STATUS1","AUTH-STATUS2","AUTH-STATUS3","AUTH-STATUS4","AUTH-STATUS5","AUTH-STATUS6","AUTH-STATUS7","AUTH-STATUS8","AUTH-STATUS9","auto_assigned","batch_completed","checking_for_duplicates","closed","completed","courion_add","courion_extend","courion_terminate","courion_update","duplicates_resolved","failed","fulfilled","invitation_sent","ldap_provided","new","non_employee_created","non_employee_updated","notified","pending_approval","pending_assignment","pending_courion_add","pending_courion_extend","pending_courion_terminate","pending_courion_update","pending_creation","pending_fulfillment","pending_ldap","pending_notification","pending_profile_select","pending_request","pending_review","pending_status_change","pending_stored_procedure","pending_trigger","pending_update","processing","profile_check_complete","profiles_selected","rejected","requested","reviewed","soap_request_sent","started_workflow","status_changed","stored_procedure","un_assigned","waiting_on_workflow","workflow_changed"],"example":"completed"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/workflow_sessions/{id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Find workflow session by id","description":{"content":"Find workflow session by id","type":"text/plain"},"url":{"path":["workflow_sessions",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Find workflow session by id' (get-workflow-session)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Find workflow session by id + + + +Find workflow session by id + +
Path Parameters
+ +Expected response to a valid request + +
Schema
    workflow_session object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/get-workflow-sessions.api.mdx b/products/nerm/api/get-workflow-sessions.api.mdx new file mode 100644 index 000000000..13e80bab6 --- /dev/null +++ b/products/nerm/api/get-workflow-sessions.api.mdx @@ -0,0 +1,39 @@ +--- +id: get-workflow-sessions +sidebar_label: Get workflow sessions +hide_title: true +hide_table_of_contents: true +api: {"operationId":"getWorkflowSessions","description":"Get workflow sessions","tags":["workflow sessions"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true},{"name":"profile_id","in":"query","description":"Profile ID to filter by","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"uid","in":"query","description":"Workflow session uid for filtering","required":false,"schema":{"type":"string","minLength":32,"maxLength":32}},{"name":"workflow_id","in":"query","description":"Workflow ID for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"requester_id","in":"query","description":"Requester ID for filtering","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"status","in":"query","description":"filter by workflow session status","required":false,"schema":{"type":"string","enum":["waiting on workflow","identity proofing completed","new","closing","pending request","requested","pending approval","approved","pending notification","notified","pending review","reviewed","pending trigger","stored procedure","pending status change","status changed","pending update","non employee updated","non employee created","pending creation","rejected","pending assignment","assigned","default","failed","un assigned","auto assigned","ldap provided","pending ldap","pending fulfillment","pending stored procedure","pending courion add","fulfilled","pending courion update","courion add","pending courion_extend","courion update","pending courion terminate","courion extend","pending profile select","courion terminate","batch completed","profiles selected","answered questions","pending questions","attempting to start workflow","started workflow","profile check complete","completed","processing","pending set attribute","invitation sent","action skipped","api request sent","attribute set","disabled","duplicates resolved","soap request sent","checking for duplicates","pending identity proofing","closed","workflow changed"]}},{"name":"metadata","in":"query","description":"Returns batching metadata in the response","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"workflow_sessions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"workflow_id":{"type":"string","format":"uuid"},"requester_id":{"type":"string","format":"uuid"},"requester_type":{"type":"string","enum":["User","NeprofileUser","NeaccessUser"]},"profile_id":{"type":"string","format":"uuid","description":"The profile this workflow session will be working with. Only Applicable for Update workflows"},"profile_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The profiles this workflow session will be working with. Only Applicable for Batch workflows"},"status":{"type":"string","enum":["api_request_sent","approved","assigned","attempting_to_start_workflow","AUTH-STATUS1","AUTH-STATUS2","AUTH-STATUS3","AUTH-STATUS4","AUTH-STATUS5","AUTH-STATUS6","AUTH-STATUS7","AUTH-STATUS8","AUTH-STATUS9","auto_assigned","batch_completed","checking_for_duplicates","closed","completed","courion_add","courion_extend","courion_terminate","courion_update","duplicates_resolved","failed","fulfilled","invitation_sent","ldap_provided","new","non_employee_created","non_employee_updated","notified","pending_approval","pending_assignment","pending_courion_add","pending_courion_extend","pending_courion_terminate","pending_courion_update","pending_creation","pending_fulfillment","pending_ldap","pending_notification","pending_profile_select","pending_request","pending_review","pending_status_change","pending_stored_procedure","pending_trigger","pending_update","processing","profile_check_complete","profiles_selected","rejected","requested","reviewed","soap_request_sent","started_workflow","status_changed","stored_procedure","un_assigned","waiting_on_workflow","workflow_changed"],"example":"completed"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}},"_metadata":{"type":"object","properties":{"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"next":{"type":"string","example":"/endpoint?limit=10&offset=60"},"previous":{"type":"string","example":"/endpoint?limit=10&offset=40"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"get","path":"/workflow_sessions","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Get workflow sessions","description":{"content":"Get workflow sessions","type":"text/plain"},"url":{"path":["workflow_sessions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Profile ID to filter by","type":"text/plain"},"key":"profile_id","value":""},{"disabled":false,"description":{"content":"Workflow session uid for filtering","type":"text/plain"},"key":"uid","value":""},{"disabled":false,"description":{"content":"Workflow ID for filtering","type":"text/plain"},"key":"workflow_id","value":""},{"disabled":false,"description":{"content":"Requester ID for filtering","type":"text/plain"},"key":"requester_id","value":""},{"disabled":false,"description":{"content":"filter by workflow session status","type":"text/plain"},"key":"status","value":""},{"disabled":false,"description":{"content":"Returns batching metadata in the response","type":"text/plain"},"key":"metadata","value":""}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Get workflow sessions' (get-workflow-sessions)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Get workflow sessions + + + +Get workflow sessions + +
Query Parameters
+ +Expected response to a valid request + +
Schema
    workflow_sessions object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
  • _metadata object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-advanced-search.api.mdx b/products/nerm/api/patch-advanced-search.api.mdx new file mode 100644 index 000000000..53b3c52ee --- /dev/null +++ b/products/nerm/api/patch-advanced-search.api.mdx @@ -0,0 +1,31 @@ +--- +id: patch-advanced-search +sidebar_label: Update a saved advanced search query +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchAdvancedSearch","description":"Update a saved advanced search query","tags":["advanced search"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"advanced_search":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"condition_rules_attributes":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileTypeRule"]},"comparison_operator":{"type":"string","enum":["==","!="]},"value":{"type":"string","format":"uuid"},"_destroy":{"type":"boolean","default":false}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileStatusRule"]},"comparison_operator":{"type":"string","enum":["==","!="]},"value":{"type":"string","enum":["Active","Inactive","Leave of absence","Terminated"]},"_destroy":{"type":"boolean","default":false}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["TextFieldAttribute","TextAreaAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["==","!=",">","<","start_with?","end_with?","include?"]},"value":{"type":"string","required":true,"example":"Some value"},"_destroy":{"type":"boolean","default":false}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["DateAttribute"]},"condition_object_id":{"type":"string","format":"uuid"},"secondary_attribute_type":{"type":"string","enum":["DateAttribute"]},"secondary_attribute_id":{"type":"string","format":"uuid"},"comparison_operator":{"type":"string","enum":[">","<","after","before"]},"value":{"type":"string","required":true,"enum":["Today",""]},"secondary_value":{"type":"string","enum":["after","before"]},"tertiary_value":{"type":"string","example":30},"_destroy":{"type":"boolean","default":false}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["ProfileSelectAttribute","ProfileSearchAttribute","OwnerSelectAttribute","OwnerSearchAttribute","ContributorSelectAttribute","ContributorSearchAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["include?","exclude?"]},"value":{"type":"string","required":true,"format":"uuid"},"_destroy":{"type":"boolean","default":false}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["RiskRule"]},"comparison_operator":{"type":"string","enum":["==",">","<"]},"value":{"type":"string","summary":"id of the Risk Level being compared against","required":true,"format":"uuid"},"secondary_value":{"type":"string","required":true,"enum":["OverallRisk"]},"_destroy":{"type":"boolean","default":false}}}]}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"advanced_search":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"label":{"type":"string"},"condition_rules_attributes":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileTypeRule"]},"comparison_operator":{"type":"string","enum":["==","!="]},"value":{"type":"string","format":"uuid"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileStatusRule"]},"comparison_operator":{"type":"string","enum":["==","!="]},"value":{"type":"string","enum":["Active","Inactive","Leave of absence","Terminated"]}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["TextFieldAttribute","TextAreaAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["==","!=",">","<","start_with?","end_with?","include?"]},"value":{"type":"string","required":true,"example":"Some value"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["DateAttribute"]},"condition_object_id":{"type":"string","format":"uuid"},"secondary_attribute_type":{"type":"string","enum":["DateAttribute"]},"secondary_attribute_id":{"type":"string","format":"uuid"},"comparison_operator":{"type":"string","enum":[">","<","after","before"]},"value":{"type":"string","required":true,"enum":["Today",""]},"secondary_value":{"type":"string","enum":["after","before"]},"tertiary_value":{"type":"string","example":30}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["ProfileSelectAttribute","ProfileSearchAttribute","OwnerSelectAttribute","OwnerSearchAttribute","ContributorSelectAttribute","ContributorSearchAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["include?","exclude?"]},"value":{"type":"string","required":true,"format":"uuid"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["RiskRule"]},"comparison_operator":{"type":"string","enum":["==",">","<"]},"value":{"type":"string","summary":"id of the Risk Level being compared against","required":true,"format":"uuid"},"secondary_value":{"type":"string","required":true,"enum":["OverallRisk"]}}}]}}}}}}}}}},"method":"patch","path":"/advanced_search/{id}","jsonRequestBodyExample":{"advanced_search":{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","label":"string","condition_rules_attributes":[{"type":"ProfileTypeRule","comparison_operator":"==","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","_destroy":false},{"type":"ProfileStatusRule","comparison_operator":"==","value":"Active","_destroy":false},{"type":"ProfileAttributeRule","condition_object_type":"TextFieldAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":"==","value":"Some value","_destroy":false},{"type":"ProfileAttributeRule","condition_object_type":"DateAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","secondary_attribute_type":"DateAttribute","secondary_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":">","value":"Today","secondary_value":"after","tertiary_value":30,"_destroy":false},{"type":"ProfileAttributeRule","condition_object_type":"ProfileSelectAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":"include?","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","_destroy":false},{"type":"RiskRule","comparison_operator":"==","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","secondary_value":"OverallRisk","_destroy":false}]}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a saved advanced search query","description":{"content":"Update a saved advanced search query","type":"text/plain"},"url":{"path":["advanced_search",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a saved advanced search query' (patch-advanced-search)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a saved advanced search query + + + +Update a saved advanced search query + +
Path Parameters
Request Body required
    advanced_search object
    condition_rules_attributes object[]
    anyOf`, `<`, `start_with?`, `end_with?`, `include?`]"} defaultValue={undefined}>`, `<`, `after`, `before`]"} defaultValue={undefined}>`]"} defaultValue={undefined}>`, `<`]"} defaultValue={undefined}>
+ +Expected response to a valid request + +
Schema
    advanced_search object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    condition_rules_attributes object[]
    anyOf= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`, `start_with?`, `end_with?`, `include?`]"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`, `after`, `before`]"} defaultValue={undefined}>`]"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`]"} defaultValue={undefined}>
\",\n \"value\": \"Today\",\n \"secondary_value\": \"after\",\n \"tertiary_value\": 30\n },\n {\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"uid\": \"string\",\n \"type\": \"ProfileAttributeRule\",\n \"condition_object_type\": \"ProfileSelectAttribute\",\n \"condition_object_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"comparison_operator\": \"include?\",\n \"value\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n },\n {\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"uid\": \"string\",\n \"type\": \"RiskRule\",\n \"comparison_operator\": \"==\",\n \"value\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"secondary_value\": \"OverallRisk\"\n }\n ]\n }\n}"} language={"json"}>
\ No newline at end of file diff --git a/products/nerm/api/patch-attribute-option.api.mdx b/products/nerm/api/patch-attribute-option.api.mdx new file mode 100644 index 000000000..b96cab826 --- /dev/null +++ b/products/nerm/api/patch-attribute-option.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-attribute-option +sidebar_label: Update a option based attribute value by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchAttributeOption","description":"Update a option based attribute value by id","tags":["attribute options"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute_option":{"type":"object","properties":{"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute_option":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/ne_attribute_options/{id}","jsonRequestBodyExample":{"ne_attribute_option":{"ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","option":"string"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a option based attribute value by id","description":{"content":"Update a option based attribute value by id","type":"text/plain"},"url":{"path":["ne_attribute_options",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a option based attribute value by id' (patch-attribute-option)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a option based attribute value by id + + + +Update a option based attribute value by id + +
Path Parameters
Request Body required
    ne_attribute_option object
+ +Expected response to a valid request + +
Schema
    ne_attribute_option object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-attribute-options.api.mdx b/products/nerm/api/patch-attribute-options.api.mdx new file mode 100644 index 000000000..59bb4caca --- /dev/null +++ b/products/nerm/api/patch-attribute-options.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-attribute-options +sidebar_label: Update multiple option based attribute values +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchAttributeOptions","description":"Update multiple option based attribute values","tags":["attribute options"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute_options":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"ne_attribute_options":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/ne_attribute_options","jsonRequestBodyExample":{"ne_attribute_options":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","option":"string"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update multiple option based attribute values","description":{"content":"Update multiple option based attribute values","type":"text/plain"},"url":{"path":["ne_attribute_options"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update multiple option based attribute values' (patch-attribute-options)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update multiple option based attribute values + + + +Update multiple option based attribute values + +
Request Body required
    ne_attribute_options object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    ne_attribute_options object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-profile-type.api.mdx b/products/nerm/api/patch-profile-type.api.mdx new file mode 100644 index 000000000..34266c36b --- /dev/null +++ b/products/nerm/api/patch-profile-type.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-profile-type +sidebar_label: Update a profile type by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchProfileType","description":"Update a profile type by id","tags":["profile types"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profile_type":{"type":"object","properties":{"name":{"type":"string"},"bypass_dup_protection":{"type":"boolean"},"archived":{"type":"boolean"},"permitted_role_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"profile_type_dup_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"}}}},"profile_type_namings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"order":{"type":"integer","minimum":0}}}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profile_type":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"bypass_dup_protection":{"type":"boolean"},"archived":{"type":"boolean"},"permitted_role_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"profile_type_dup_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"}}}},"profile_type_namings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"order":{"type":"integer","minimum":0}}}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/profile_types/{id}","jsonRequestBodyExample":{"profile_type":{"name":"string","bypass_dup_protection":true,"archived":true,"permitted_role_ids":["3fa85f64-5717-4562-b3fc-2c963f66afa6"],"profile_type_dup_attributes":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","uid":"string","profile_type_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}],"profile_type_namings":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","uid":"string","profile_type_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","order":0}]}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a profile type by id","description":{"content":"Update a profile type by id","type":"text/plain"},"url":{"path":["profile_types",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a profile type by id' (patch-profile-type)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a profile type by id + + + +Update a profile type by id + +
Path Parameters
Request Body required
    profile_type object
    profile_type_dup_attributes object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_namings object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Expected response to a valid request + +
Schema
    profile_type object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_dup_attributes object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_namings object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-profile.api.mdx b/products/nerm/api/patch-profile.api.mdx new file mode 100644 index 000000000..8b4eb61a3 --- /dev/null +++ b/products/nerm/api/patch-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-profile +sidebar_label: Update a profile by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchProfile","description":"Update a profile by id","tags":["profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"object","properties":{"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"archived":{"type":"boolean","default":false},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/profiles/{id}","jsonRequestBodyExample":{"profile":{"name":"string","profile_type_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","status":"Active","id_proofing_status":"pending","archived":false,"attributes":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a profile by id","description":{"content":"Update a profile by id","type":"text/plain"},"url":{"path":["profiles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a profile by id' (patch-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a profile by id + + + +Update a profile by id + +
Path Parameters
Request Body required
    profile object
    attributes object
  • property name* string
+ +Expected response to a valid request + +
Schema
    profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-profiles.api.mdx b/products/nerm/api/patch-profiles.api.mdx new file mode 100644 index 000000000..2f9e651f2 --- /dev/null +++ b/products/nerm/api/patch-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-profiles +sidebar_label: Update multiple profiles +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchProfiles","description":"Update multiple profiles","tags":["profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"archived":{"type":"boolean","default":false},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/profiles","jsonRequestBodyExample":{"profiles":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","name":"string","profile_type_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","status":"Active","id_proofing_status":"pending","archived":false,"attributes":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update multiple profiles","description":{"content":"Update multiple profiles","type":"text/plain"},"url":{"path":["profiles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update multiple profiles' (patch-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update multiple profiles + + + +Update multiple profiles + +
Request Body required
    profiles object[]
    attributes object
  • property name* string
+ +Expected response to a valid request + +
Schema
    oneOf
    profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
  • job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-role-profile.api.mdx b/products/nerm/api/patch-role-profile.api.mdx new file mode 100644 index 000000000..a062c2002 --- /dev/null +++ b/products/nerm/api/patch-role-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-role-profile +sidebar_label: Update a role-profile contributor relationship by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchRoleProfile","description":"Update a role-profile contributor relationship by id","tags":["role profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role_profile":{"type":"object","properties":{"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"role_profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/role_profiles/{id}","jsonRequestBodyExample":{"role_profile":{"role_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a role-profile contributor relationship by id","description":{"content":"Update a role-profile contributor relationship by id","type":"text/plain"},"url":{"path":["role_profiles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a role-profile contributor relationship by id' (patch-role-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a role-profile contributor relationship by id + + + +Update a role-profile contributor relationship by id + +
Path Parameters
Request Body required
    role_profile object
+ +Expected response to a valid request + +
Schema
    role_profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-role-profiles.api.mdx b/products/nerm/api/patch-role-profiles.api.mdx new file mode 100644 index 000000000..81f0dc79d --- /dev/null +++ b/products/nerm/api/patch-role-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-role-profiles +sidebar_label: Update multiple role-profile contributor relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchRoleProfiles","description":"Update multiple role-profile contributor relationships","tags":["role profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"role_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/role_profiles","jsonRequestBodyExample":{"role_profiles":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","role_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update multiple role-profile contributor relationships","description":{"content":"Update multiple role-profile contributor relationships","type":"text/plain"},"url":{"path":["role_profiles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update multiple role-profile contributor relationships' (patch-role-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update multiple role-profile contributor relationships + + + +Update multiple role-profile contributor relationships + +
Request Body required
    role_profiles object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    role_profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-role.api.mdx b/products/nerm/api/patch-role.api.mdx new file mode 100644 index 000000000..86b0d9491 --- /dev/null +++ b/products/nerm/api/patch-role.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-role +sidebar_label: Update an existing role +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchRole","description":"Update an existing role","tags":["roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"object","properties":{"type":{"type":"string","enum":["NeprofileRole","NeaccessRole"]},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}}}},"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"sponsors_role"},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/roles/{id}","jsonRequestBodyExample":{"role":{"type":"NeprofileRole","name":"Sponsors","groups":["ad_group_name"]}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update an existing role","description":{"content":"Update an existing role","type":"text/plain"},"url":{"path":["roles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update an existing role' (patch-role)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update an existing role + + + +Update an existing role + +
Path Parameters
Request Body required
    role object
+ +Expected response to a valid request + +
Schema
    role object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-roles.api.mdx b/products/nerm/api/patch-roles.api.mdx new file mode 100644 index 000000000..5208f7951 --- /dev/null +++ b/products/nerm/api/patch-roles.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-roles +sidebar_label: Update multiple roles +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchRoles","description":"Update multiple users","tags":["roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roles":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["NeprofileRole","NeaccessRole"]},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"sponsors_role"},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/roles","jsonRequestBodyExample":{"roles":[{"type":"NeprofileRole","name":"Sponsors","groups":["ad_group_name"]}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update multiple roles","description":{"content":"Update multiple users","type":"text/plain"},"url":{"path":["roles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update multiple roles' (patch-roles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update multiple roles + + + +Update multiple users + +
Request Body required
    roles object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    roles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-user-manager.api.mdx b/products/nerm/api/patch-user-manager.api.mdx new file mode 100644 index 000000000..be64aef91 --- /dev/null +++ b/products/nerm/api/patch-user-manager.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-user-manager +sidebar_label: Update a user-manager relationship by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchUserManager","description":"Update a user-manager relationship by id","tags":["user managers"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_manager":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}}},"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_manager":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/user_managers/{id}","jsonRequestBodyExample":{"user_manager":{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","manager_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a user-manager relationship by id","description":{"content":"Update a user-manager relationship by id","type":"text/plain"},"url":{"path":["user_managers",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a user-manager relationship by id' (patch-user-manager)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a user-manager relationship by id + + + +Update a user-manager relationship by id + +
Path Parameters
Request Body required
    user_manager object
+ +Expected response to a valid request + +
Schema
    user_manager object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-user-managers.api.mdx b/products/nerm/api/patch-user-managers.api.mdx new file mode 100644 index 000000000..52c031acd --- /dev/null +++ b/products/nerm/api/patch-user-managers.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-user-managers +sidebar_label: Update multiple user-manager relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchUserManagers","description":"Update multiple user-manager relationships","tags":["user managers"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_managers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}},{"type":"object","properties":{"user_managers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/user_managers","jsonRequestBodyExample":{"user_managers":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","manager_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update multiple user-manager relationships","description":{"content":"Update multiple user-manager relationships","type":"text/plain"},"url":{"path":["user_managers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update multiple user-manager relationships' (patch-user-managers)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update multiple user-manager relationships + + + +Update multiple user-manager relationships + +
Request Body required
    user_managers object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    job_status object
    user_managers object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-user-profile.api.mdx b/products/nerm/api/patch-user-profile.api.mdx new file mode 100644 index 000000000..dd5fa3369 --- /dev/null +++ b/products/nerm/api/patch-user-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-user-profile +sidebar_label: Update a user-profile contributor relationship by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchUserProfile","description":"Update a user-profile contributor relationship by id","tags":["user profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_profile":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/user_profiles/{id}","jsonRequestBodyExample":{"user_profile":{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","relationship_type":"owner"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a user-profile contributor relationship by id","description":{"content":"Update a user-profile contributor relationship by id","type":"text/plain"},"url":{"path":["user_profiles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a user-profile contributor relationship by id' (patch-user-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a user-profile contributor relationship by id + + + +Update a user-profile contributor relationship by id + +
Path Parameters
Request Body required
    user_profile object
+ +Expected response to a valid request + +
Schema
    user_profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-user-profiles.api.mdx b/products/nerm/api/patch-user-profiles.api.mdx new file mode 100644 index 000000000..93da31b21 --- /dev/null +++ b/products/nerm/api/patch-user-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-user-profiles +sidebar_label: Update multiple user-profile contributor relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchUserProfiles","description":"Update multiple user-profile contributor relationships","tags":["user profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"user_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/user_profiles","jsonRequestBodyExample":{"user_profiles":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","relationship_type":"owner"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update multiple user-profile contributor relationships","description":{"content":"Update multiple user-profile contributor relationships","type":"text/plain"},"url":{"path":["user_profiles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update multiple user-profile contributor relationships' (patch-user-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update multiple user-profile contributor relationships + + + +Update multiple user-profile contributor relationships + +
Request Body required
    user_profiles object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    user_profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-user-role.api.mdx b/products/nerm/api/patch-user-role.api.mdx new file mode 100644 index 000000000..9a6034359 --- /dev/null +++ b/products/nerm/api/patch-user-role.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-user-role +sidebar_label: Update a user role pairing by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchUserRole","description":"Update a user role pairing by id","tags":["user roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_role":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}}}},"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_role":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/user_roles/{id}","jsonRequestBodyExample":{"user_role":{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","role_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a user role pairing by id","description":{"content":"Update a user role pairing by id","type":"text/plain"},"url":{"path":["user_roles",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a user role pairing by id' (patch-user-role)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a user role pairing by id + + + +Update a user role pairing by id + +
Path Parameters
Request Body required
    user_role object
+ +Expected response to a valid request + +
Schema
    user_role object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-user-roles.api.mdx b/products/nerm/api/patch-user-roles.api.mdx new file mode 100644 index 000000000..be3647d0d --- /dev/null +++ b/products/nerm/api/patch-user-roles.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-user-roles +sidebar_label: Update multiple user role pairings +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchUserRoles","description":"Update multiple user role pairings","tags":["user roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"user_roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/user_roles","jsonRequestBodyExample":{"user_roles":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","role_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update multiple user role pairings","description":{"content":"Update multiple user role pairings","type":"text/plain"},"url":{"path":["user_roles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update multiple user role pairings' (patch-user-roles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update multiple user role pairings + + + +Update multiple user role pairings + +
Request Body required
    user_roles object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    user_roles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-user.api.mdx b/products/nerm/api/patch-user.api.mdx new file mode 100644 index 000000000..1084ffc1b --- /dev/null +++ b/products/nerm/api/patch-user.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-user +sidebar_label: Update a user by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchUser","description":"Update a user by id","tags":["users"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid","required":true,"writeOnly":true},"name":{"type":"string"},"email":{"type":"string","format":"email"},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"profile_id":{"type":"string","format":"uuid"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"]},"login":{"type":"string"},"admin":{"type":"boolean"},"group_strings":{"type":"string","example":"Administrator_group,Developer_group"}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readonly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readonly":true},"name":{"type":"string"},"email":{"type":"string","format":"email"},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"]},"login":{"type":"string"},"last_login":{"type":"string","format":"date-time","readOnly":true},"cookies_accepted_at":{"type":"string","format":"date-time","readOnly":true},"preferred_language":{"type":"string"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/users/{id}","jsonRequestBodyExample":{"user":{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","name":"string","email":"user@example.com","type":"NeprofileUser","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","title":"string","status":"Active","login":"string","admin":true,"group_strings":"Administrator_group,Developer_group"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a user by id","description":{"content":"Update a user by id","type":"text/plain"},"url":{"path":["users",":id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a user by id' (patch-user)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a user by id + + + +Update a user by id + +
Path Parameters
Request Body required
    user object
+ +Expected response to a valid request + +
Schema
    user object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-users.api.mdx b/products/nerm/api/patch-users.api.mdx new file mode 100644 index 000000000..e96d69f00 --- /dev/null +++ b/products/nerm/api/patch-users.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-users +sidebar_label: Update multiple users +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchUsers","description":"Update multiple users","tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","required":true,"writeOnly":true},"name":{"type":"string"},"email":{"type":"string","format":"email"},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"profile_id":{"type":"string","format":"uuid"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"]},"login":{"type":"string"},"admin":{"type":"boolean"},"group_strings":{"type":"string","example":"Administrator_group,Developer_group"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readonly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readonly":true},"name":{"type":"string"},"email":{"type":"string","format":"email"},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"]},"login":{"type":"string"},"last_login":{"type":"string","format":"date-time","readOnly":true},"cookies_accepted_at":{"type":"string","format":"date-time","readOnly":true},"preferred_language":{"type":"string"}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/users","jsonRequestBodyExample":{"users":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","name":"string","email":"user@example.com","type":"NeprofileUser","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","title":"string","status":"Active","login":"string","admin":true,"group_strings":"Administrator_group,Developer_group"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update multiple users","description":{"content":"Update multiple users","type":"text/plain"},"url":{"path":["users"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update multiple users' (patch-users)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update multiple users + + + +Update multiple users + +
Request Body required
    users object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    users object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/patch-workflow-session.api.mdx b/products/nerm/api/patch-workflow-session.api.mdx new file mode 100644 index 000000000..175740e61 --- /dev/null +++ b/products/nerm/api/patch-workflow-session.api.mdx @@ -0,0 +1,39 @@ +--- +id: patch-workflow-session +sidebar_label: Update a workflow session by id +hide_title: true +hide_table_of_contents: true +api: {"operationId":"patchWorkflowSession","description":"Update a workflow session by id","tags":["workflow sessions"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"run","in":"query","description":"Will run the created/updated workflow session if successful","required":false,"schema":{"type":"boolean","default":false}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"workflow_session":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid"},"requester_id":{"type":"string","format":"uuid"},"requester_type":{"type":"string","enum":["User","NeprofileUser","NeaccessUser"]},"profile_id":{"type":"string","format":"uuid","description":"The profile this workflow session will be working with. Only Applicable for Update workflows"},"profile_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The profiles this workflow session will be working with. Only Applicable for Batch workflows"},"status":{"type":"string","enum":["api_request_sent","approved","assigned","attempting_to_start_workflow","AUTH-STATUS1","AUTH-STATUS2","AUTH-STATUS3","AUTH-STATUS4","AUTH-STATUS5","AUTH-STATUS6","AUTH-STATUS7","AUTH-STATUS8","AUTH-STATUS9","auto_assigned","batch_completed","checking_for_duplicates","closed","completed","courion_add","courion_extend","courion_terminate","courion_update","duplicates_resolved","failed","fulfilled","invitation_sent","ldap_provided","new","non_employee_created","non_employee_updated","notified","pending_approval","pending_assignment","pending_courion_add","pending_courion_extend","pending_courion_terminate","pending_courion_update","pending_creation","pending_fulfillment","pending_ldap","pending_notification","pending_profile_select","pending_request","pending_review","pending_status_change","pending_stored_procedure","pending_trigger","pending_update","processing","profile_check_complete","profiles_selected","rejected","requested","reviewed","soap_request_sent","started_workflow","status_changed","stored_procedure","un_assigned","waiting_on_workflow","workflow_changed"],"example":"completed"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"workflow_session":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"workflow_id":{"type":"string","format":"uuid"},"requester_id":{"type":"string","format":"uuid"},"requester_type":{"type":"string","enum":["User","NeprofileUser","NeaccessUser"]},"profile_id":{"type":"string","format":"uuid","description":"The profile this workflow session will be working with. Only Applicable for Update workflows"},"profile_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The profiles this workflow session will be working with. Only Applicable for Batch workflows"},"status":{"type":"string","enum":["api_request_sent","approved","assigned","attempting_to_start_workflow","AUTH-STATUS1","AUTH-STATUS2","AUTH-STATUS3","AUTH-STATUS4","AUTH-STATUS5","AUTH-STATUS6","AUTH-STATUS7","AUTH-STATUS8","AUTH-STATUS9","auto_assigned","batch_completed","checking_for_duplicates","closed","completed","courion_add","courion_extend","courion_terminate","courion_update","duplicates_resolved","failed","fulfilled","invitation_sent","ldap_provided","new","non_employee_created","non_employee_updated","notified","pending_approval","pending_assignment","pending_courion_add","pending_courion_extend","pending_courion_terminate","pending_courion_update","pending_creation","pending_fulfillment","pending_ldap","pending_notification","pending_profile_select","pending_request","pending_review","pending_status_change","pending_stored_procedure","pending_trigger","pending_update","processing","profile_check_complete","profiles_selected","rejected","requested","reviewed","soap_request_sent","started_workflow","status_changed","stored_procedure","un_assigned","waiting_on_workflow","workflow_changed"],"example":"completed"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"patch","path":"/workflow_sessions/{id}","jsonRequestBodyExample":{"workflow_session":{"workflow_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","requester_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","requester_type":"User","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_ids":["3fa85f64-5717-4562-b3fc-2c963f66afa6"],"status":"completed","attributes":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Update a workflow session by id","description":{"content":"Update a workflow session by id","type":"text/plain"},"url":{"path":["workflow_sessions",":id"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Will run the created/updated workflow session if successful","type":"text/plain"},"key":"run","value":""}],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "patch api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Update a workflow session by id' (patch-workflow-session)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Update a workflow session by id + + + +Update a workflow session by id + +
Path Parameters
Query Parameters
Request Body required
    workflow_session object
    attributes object
  • property name* string
+ +Expected response to a valid request + +
Schema
    workflow_session object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-advanced-search.api.mdx b/products/nerm/api/post-advanced-search.api.mdx new file mode 100644 index 000000000..46fbe896e --- /dev/null +++ b/products/nerm/api/post-advanced-search.api.mdx @@ -0,0 +1,31 @@ +--- +id: post-advanced-search +sidebar_label: Save an advanced search query for later use +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postAdvancedSearch","description":"Save an advanced search query for later use","tags":["advanced search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"advanced_search":{"type":"object","properties":{"label":{"type":"string"},"condition_rules_attributes":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileTypeRule"]},"comparison_operator":{"type":"string","required":true,"enum":["==","!="]},"value":{"type":"string","required":true,"format":"uuid"}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileStatusRule"]},"comparison_operator":{"type":"string","required":true,"enum":["==","!="]},"value":{"type":"string","required":true,"enum":["Active","Inactive","Leave of absence","Terminated"]}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["TextFieldAttribute","TextAreaAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["==","!=",">","<","start_with?","end_with?","include?"]},"value":{"type":"string","required":true,"example":"Some value"}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["DateAttribute"]},"condition_object_id":{"type":"string","format":"uuid"},"secondary_attribute_type":{"type":"string","enum":["DateAttribute"]},"secondary_attribute_id":{"type":"string","format":"uuid"},"comparison_operator":{"type":"string","enum":[">","<","after","before"]},"value":{"type":"string","required":true,"enum":["Today",""]},"secondary_value":{"type":"string","enum":["after","before"]},"tertiary_value":{"type":"string","example":30}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["ProfileSelectAttribute","ProfileSearchAttribute","OwnerSelectAttribute","OwnerSearchAttribute","ContributorSelectAttribute","ContributorSearchAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["include?","exclude?"]},"value":{"type":"string","required":true,"format":"uuid"}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["RiskRule"]},"comparison_operator":{"type":"string","enum":["==",">","<"]},"value":{"type":"string","summary":"id of the Risk Level being compared against","required":true,"format":"uuid"},"secondary_value":{"type":"string","required":true,"enum":["OverallRisk"]}}}]}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"advanced_search":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"label":{"type":"string"},"condition_rules_attributes":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileTypeRule"]},"comparison_operator":{"type":"string","enum":["==","!="]},"value":{"type":"string","format":"uuid"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileStatusRule"]},"comparison_operator":{"type":"string","enum":["==","!="]},"value":{"type":"string","enum":["Active","Inactive","Leave of absence","Terminated"]}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["TextFieldAttribute","TextAreaAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["==","!=",">","<","start_with?","end_with?","include?"]},"value":{"type":"string","required":true,"example":"Some value"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["DateAttribute"]},"condition_object_id":{"type":"string","format":"uuid"},"secondary_attribute_type":{"type":"string","enum":["DateAttribute"]},"secondary_attribute_id":{"type":"string","format":"uuid"},"comparison_operator":{"type":"string","enum":[">","<","after","before"]},"value":{"type":"string","required":true,"enum":["Today",""]},"secondary_value":{"type":"string","enum":["after","before"]},"tertiary_value":{"type":"string","example":30}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["ProfileSelectAttribute","ProfileSearchAttribute","OwnerSelectAttribute","OwnerSearchAttribute","ContributorSelectAttribute","ContributorSearchAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["include?","exclude?"]},"value":{"type":"string","required":true,"format":"uuid"}}},{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"type":{"type":"string","required":true,"enum":["RiskRule"]},"comparison_operator":{"type":"string","enum":["==",">","<"]},"value":{"type":"string","summary":"id of the Risk Level being compared against","required":true,"format":"uuid"},"secondary_value":{"type":"string","required":true,"enum":["OverallRisk"]}}}]}}}}}}}}}},"method":"post","path":"/advanced_search","jsonRequestBodyExample":{"advanced_search":{"label":"string","condition_rules_attributes":[{"type":"ProfileTypeRule","comparison_operator":"==","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},{"type":"ProfileStatusRule","comparison_operator":"==","value":"Active"},{"type":"ProfileAttributeRule","condition_object_type":"TextFieldAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":"==","value":"Some value"},{"type":"ProfileAttributeRule","condition_object_type":"DateAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","secondary_attribute_type":"DateAttribute","secondary_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":">","value":"Today","secondary_value":"after","tertiary_value":30},{"type":"ProfileAttributeRule","condition_object_type":"ProfileSelectAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":"include?","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},{"type":"RiskRule","comparison_operator":"==","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","secondary_value":"OverallRisk"}]}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Save an advanced search query for later use","description":{"content":"Save an advanced search query for later use","type":"text/plain"},"url":{"path":["advanced_search"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Save an advanced search query for later use' (post-advanced-search)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Save an advanced search query for later use + + + +Save an advanced search query for later use + +
Request Body required
    advanced_search object
    condition_rules_attributes object[]
    anyOf`, `<`, `start_with?`, `end_with?`, `include?`]"} defaultValue={undefined}>`, `<`, `after`, `before`]"} defaultValue={undefined}>`]"} defaultValue={undefined}>`, `<`]"} defaultValue={undefined}>
+ +Expected response to a valid request + +
Schema
    advanced_search object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    condition_rules_attributes object[]
    anyOf= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`, `start_with?`, `end_with?`, `include?`]"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`, `after`, `before`]"} defaultValue={undefined}>`]"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>= 32 characters` and `<= 32 characters`"} defaultValue={undefined}>`, `<`]"} defaultValue={undefined}>
\",\n \"value\": \"Today\",\n \"secondary_value\": \"after\",\n \"tertiary_value\": 30\n },\n {\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"uid\": \"string\",\n \"type\": \"ProfileAttributeRule\",\n \"condition_object_type\": \"ProfileSelectAttribute\",\n \"condition_object_id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"comparison_operator\": \"include?\",\n \"value\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n },\n {\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"uid\": \"string\",\n \"type\": \"RiskRule\",\n \"comparison_operator\": \"==\",\n \"value\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"secondary_value\": \"OverallRisk\"\n }\n ]\n }\n}"} language={"json"}>
\ No newline at end of file diff --git a/products/nerm/api/post-attribute-option.api.mdx b/products/nerm/api/post-attribute-option.api.mdx new file mode 100644 index 000000000..8b8764f14 --- /dev/null +++ b/products/nerm/api/post-attribute-option.api.mdx @@ -0,0 +1,35 @@ +--- +id: post-attribute-option +sidebar_label: Add a value to an option based attribute +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postAttributeOption","description":"Add a value to an option based attribute","tags":["attribute options"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute_option":{"type":"object","properties":{"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute_option":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}}}},"405":{"description":"Invalid input"}},"method":"post","path":"/ne_attribute_option","jsonRequestBodyExample":{"ne_attribute_option":{"ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","option":"string"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Add a value to an option based attribute","description":{"content":"Add a value to an option based attribute","type":"text/plain"},"url":{"path":["ne_attribute_option"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Add a value to an option based attribute' (post-attribute-option)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Add a value to an option based attribute + + + +Add a value to an option based attribute + +
Request Body required
    ne_attribute_option object
+ +Expected response to a valid request + +
Schema
    ne_attribute_option object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Invalid input + +
\ No newline at end of file diff --git a/products/nerm/api/post-attribute-options.api.mdx b/products/nerm/api/post-attribute-options.api.mdx new file mode 100644 index 000000000..a481b5cbd --- /dev/null +++ b/products/nerm/api/post-attribute-options.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-attribute-options +sidebar_label: Create multiple new option based attribute values +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postAttributeOptions","description":"Create multiple new option based attribute values","tags":["attribute options"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ne_attribute_options":{"type":"array","items":{"type":"object","properties":{"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"ne_attribute_options":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"ne_attribute_id":{"type":"string","format":"uuid"},"option":{"type":"string"}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/ne_attribute_options","jsonRequestBodyExample":{"ne_attribute_options":[{"ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","option":"string"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create multiple new option based attribute values","description":{"content":"Create multiple new option based attribute values","type":"text/plain"},"url":{"path":["ne_attribute_options"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create multiple new option based attribute values' (post-attribute-options)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create multiple new option based attribute values + + + +Create multiple new option based attribute values + +
Request Body required
    ne_attribute_options object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    ne_attribute_options object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-profile-avatar.api.mdx b/products/nerm/api/post-profile-avatar.api.mdx new file mode 100644 index 000000000..8f4bee205 --- /dev/null +++ b/products/nerm/api/post-profile-avatar.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-profile-avatar +sidebar_label: Uploads a new profile avatar +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postProfileAvatar","description":"Uploads a new profile avatar","tags":["profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"url","readOnly":true}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/profiles/{id}/avatar","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Uploads a new profile avatar","description":{"content":"Uploads a new profile avatar","type":"text/plain"},"url":{"path":["profiles",":id","avatar"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[]}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Uploads a new profile avatar' (post-profile-avatar)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Uploads a new profile avatar + + + +Uploads a new profile avatar + +
Path Parameters
Request Body required
+ +Expected response to a valid request + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-profile-type.api.mdx b/products/nerm/api/post-profile-type.api.mdx new file mode 100644 index 000000000..1a12b6526 --- /dev/null +++ b/products/nerm/api/post-profile-type.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-profile-type +sidebar_label: Create a profile type +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postProfileType","description":"Create a profile type","tags":["profile types"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profile_type":{"type":"object","properties":{"name":{"type":"string"},"bypass_dup_protection":{"type":"boolean","default":false},"archived":{"type":"boolean","default":false},"permitted_role_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"profile_type_dup_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"}}}},"profile_type_namings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"order":{"type":"integer","minimum":0}}}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profile_type":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"bypass_dup_protection":{"type":"boolean"},"archived":{"type":"boolean"},"permitted_role_ids":{"type":"array","items":{"type":"string","format":"uuid"}},"profile_type_dup_attributes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"}}}},"profile_type_namings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"uid":{"type":"string","minLength":32,"maxLength":32},"profile_type_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"order":{"type":"integer","minimum":0}}}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/profile_type","jsonRequestBodyExample":{"profile_type":{"name":"string","bypass_dup_protection":false,"archived":false,"permitted_role_ids":["3fa85f64-5717-4562-b3fc-2c963f66afa6"],"profile_type_dup_attributes":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","uid":"string","profile_type_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}],"profile_type_namings":[{"id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","uid":"string","profile_type_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","order":0}]}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create a profile type","description":{"content":"Create a profile type","type":"text/plain"},"url":{"path":["profile_type"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a profile type' (post-profile-type)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create a profile type + + + +Create a profile type + +
Request Body required
    profile_type object
    profile_type_dup_attributes object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_namings object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Expected response to a valid request + +
Schema
    profile_type object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_dup_attributes object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    profile_type_namings object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-profile-upload.api.mdx b/products/nerm/api/post-profile-upload.api.mdx new file mode 100644 index 000000000..9fd3d465d --- /dev/null +++ b/products/nerm/api/post-profile-upload.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-profile-upload +sidebar_label: Uploads a new attachment attribute value to a profile +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postProfileUpload","description":"Uploads a new attachment attribute value to a profile","tags":["profiles"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"attribute_id","in":"path","description":"The id of the attachment attribute","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"url","readOnly":true}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/profiles/{id}/upload/{attribute_id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Uploads a new attachment attribute value to a profile","description":{"content":"Uploads a new attachment attribute value to a profile","type":"text/plain"},"url":{"path":["profiles",":id","upload",":attribute_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"},{"disabled":false,"description":{"content":"(Required) The id of the attachment attribute","type":"text/plain"},"type":"any","value":"","key":"attribute_id"}]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[]}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Uploads a new attachment attribute value to a profile' (post-profile-upload)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Uploads a new attachment attribute value to a profile + + + +Uploads a new attachment attribute value to a profile + +
Path Parameters
Request Body required
+ +Expected response to a valid request + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-profile.api.mdx b/products/nerm/api/post-profile.api.mdx new file mode 100644 index 000000000..d5a1febc4 --- /dev/null +++ b/products/nerm/api/post-profile.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-profile +sidebar_label: Create a profile +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postProfile","description":"Create a profile","tags":["profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"object","properties":{"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid","required":true},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"],"required":true},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"archived":{"type":"boolean","default":false},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/profile","jsonRequestBodyExample":{"profile":{"name":"string","profile_type_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","status":"Active","id_proofing_status":"pending","archived":false,"attributes":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create a profile","description":{"content":"Create a profile","type":"text/plain"},"url":{"path":["profile"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a profile' (post-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create a profile + + + +Create a profile + +
Request Body required
    profile object
    attributes object
  • property name* string
+ +Expected response to a valid request + +
Schema
    profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-profiles.api.mdx b/products/nerm/api/post-profiles.api.mdx new file mode 100644 index 000000000..6981a6aca --- /dev/null +++ b/products/nerm/api/post-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-profiles +sidebar_label: Create multiple profiles +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postProfiles","description":"Create multiple profiles","tags":["profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid","required":true},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"],"required":true},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"archived":{"type":"boolean","default":false},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/profiles","jsonRequestBodyExample":{"profiles":[{"name":"string","profile_type_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","status":"Active","id_proofing_status":"pending","archived":false,"attributes":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create multiple profiles","description":{"content":"Create multiple profiles","type":"text/plain"},"url":{"path":["profiles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create multiple profiles' (post-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create multiple profiles + + + +Create multiple profiles + +
Request Body required
    profiles object[]
    attributes object
  • property name* string
+ +Expected response to a valid request + +
Schema
    oneOf
    profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
  • job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-role-profile.api.mdx b/products/nerm/api/post-role-profile.api.mdx new file mode 100644 index 000000000..ce60c8766 --- /dev/null +++ b/products/nerm/api/post-role-profile.api.mdx @@ -0,0 +1,35 @@ +--- +id: post-role-profile +sidebar_label: Create a role-profile contributor relationship +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postRoleProfile","description":"Create a role-profile contributor relationship","tags":["role profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role_profile":{"type":"object","properties":{"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"role_profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}}}},"405":{"description":"Invalid input"}},"method":"post","path":"/role_profile","jsonRequestBodyExample":{"role_profile":{"role_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create a role-profile contributor relationship","description":{"content":"Create a role-profile contributor relationship","type":"text/plain"},"url":{"path":["role_profile"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a role-profile contributor relationship' (post-role-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create a role-profile contributor relationship + + + +Create a role-profile contributor relationship + +
Request Body required
    role_profile object
+ +Expected response to a valid request + +
Schema
    role_profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Invalid input + +
\ No newline at end of file diff --git a/products/nerm/api/post-role-profiles.api.mdx b/products/nerm/api/post-role-profiles.api.mdx new file mode 100644 index 000000000..4b82c6152 --- /dev/null +++ b/products/nerm/api/post-role-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-role-profiles +sidebar_label: Create multiple role-profile contributor relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postRoleProfiles","description":"Create multiple role-profile contributor relationships","tags":["role profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role_profiles":{"type":"array","items":{"type":"object","properties":{"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"role_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"role_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/role_profiles","jsonRequestBodyExample":{"role_profiles":[{"role_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create multiple role-profile contributor relationships","description":{"content":"Create multiple role-profile contributor relationships","type":"text/plain"},"url":{"path":["role_profiles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create multiple role-profile contributor relationships' (post-role-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create multiple role-profile contributor relationships + + + +Create multiple role-profile contributor relationships + +
Request Body required
    role_profiles object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    role_profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-role.api.mdx b/products/nerm/api/post-role.api.mdx new file mode 100644 index 000000000..9ab0191ac --- /dev/null +++ b/products/nerm/api/post-role.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-role +sidebar_label: Create a new role +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postRole","description":"Create a new role","tags":["roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"object","properties":{"uid":{"type":"string","minLength":32,"maxLength":32,"example":"sponsors_role"},"type":{"type":"string","enum":["NeprofileRole","NeaccessRole"]},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"sponsors_role"},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/role","jsonRequestBodyExample":{"role":{"uid":"sponsors_role","type":"NeprofileRole","name":"Sponsors","groups":["ad_group_name"]}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create a new role","description":{"content":"Create a new role","type":"text/plain"},"url":{"path":["role"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a new role' (post-role)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create a new role + + + +Create a new role + +
Request Body required
    role object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Expected response to a valid request + +
Schema
    role object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-roles.api.mdx b/products/nerm/api/post-roles.api.mdx new file mode 100644 index 000000000..3b4d4a84c --- /dev/null +++ b/products/nerm/api/post-roles.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-roles +sidebar_label: Create multiple new roles +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postRoles","description":"Create multiple new users","tags":["roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roles":{"type":"array","items":{"type":"object","properties":{"uid":{"type":"string","minLength":32,"maxLength":32,"example":"sponsors_role"},"type":{"type":"string","enum":["NeprofileRole","NeaccessRole"]},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true,"example":"sponsors_role"},"name":{"type":"string","example":"Sponsors"},"groups":{"type":"array","items":{"type":"string","example":"ad_group_name"}}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/roles","jsonRequestBodyExample":{"roles":[{"uid":"sponsors_role","type":"NeprofileRole","name":"Sponsors","groups":["ad_group_name"]}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create multiple new roles","description":{"content":"Create multiple new users","type":"text/plain"},"url":{"path":["roles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create multiple new roles' (post-roles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create multiple new roles + + + +Create multiple new users + +
Request Body required
    roles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Expected response to a valid request + +
Schema
    oneOf
    roles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-user-avatar.api.mdx b/products/nerm/api/post-user-avatar.api.mdx new file mode 100644 index 000000000..4ef86bb5b --- /dev/null +++ b/products/nerm/api/post-user-avatar.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-user-avatar +sidebar_label: Uploads a new user avatar +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUserAvatar","description":"Uploads a new user avatar","tags":["users"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"url","readOnly":true}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/users/{id}/avatar","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Uploads a new user avatar","description":{"content":"Uploads a new user avatar","type":"text/plain"},"url":{"path":["users",":id","avatar"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[]}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Uploads a new user avatar' (post-user-avatar)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Uploads a new user avatar + + + +Uploads a new user avatar + +
Path Parameters
Request Body required
+ +Expected response to a valid request + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-user-manager.api.mdx b/products/nerm/api/post-user-manager.api.mdx new file mode 100644 index 000000000..64ec40c22 --- /dev/null +++ b/products/nerm/api/post-user-manager.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-user-manager +sidebar_label: Create a new user-manager relationship +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUserManager","description":"Create a new user-manager relationship","tags":["user managers"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_manager":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_manager":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/user_manager","jsonRequestBodyExample":{"user_manager":{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","manager_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create a new user-manager relationship","description":{"content":"Create a new user-manager relationship","type":"text/plain"},"url":{"path":["user_manager"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a new user-manager relationship' (post-user-manager)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create a new user-manager relationship + + + +Create a new user-manager relationship + +
Request Body required
    user_manager object
+ +Expected response to a valid request + +
Schema
    user_manager object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-user-managers.api.mdx b/products/nerm/api/post-user-managers.api.mdx new file mode 100644 index 000000000..d19d42f2b --- /dev/null +++ b/products/nerm/api/post-user-managers.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-user-managers +sidebar_label: Create multiple new user-manager relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUserManagers","description":"Create multiple new user-manager relationships","tags":["user managers"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_managers":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}},{"type":"object","properties":{"user_managers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"manager_id":{"type":"string","format":"uuid"}}}}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/user_managers","jsonRequestBodyExample":{"user_managers":[{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","manager_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create multiple new user-manager relationships","description":{"content":"Create multiple new user-manager relationships","type":"text/plain"},"url":{"path":["user_managers"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create multiple new user-manager relationships' (post-user-managers)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create multiple new user-manager relationships + + + +Create multiple new user-manager relationships + +
Request Body required
    user_managers object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    job_status object
    user_managers object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-user-profile.api.mdx b/products/nerm/api/post-user-profile.api.mdx new file mode 100644 index 000000000..b627ecb99 --- /dev/null +++ b/products/nerm/api/post-user-profile.api.mdx @@ -0,0 +1,35 @@ +--- +id: post-user-profile +sidebar_label: Create a user-profile contributor relationship +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUserProfile","description":"Create a user-profile contributor relationship","tags":["user profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_profile":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_profile":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}}}},"405":{"description":"Invalid input"}},"method":"post","path":"/user_profile","jsonRequestBodyExample":{"user_profile":{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","relationship_type":"owner"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create a user-profile contributor relationship","description":{"content":"Create a user-profile contributor relationship","type":"text/plain"},"url":{"path":["user_profile"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a user-profile contributor relationship' (post-user-profile)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create a user-profile contributor relationship + + + +Create a user-profile contributor relationship + +
Request Body required
    user_profile object
+ +Expected response to a valid request + +
Schema
    user_profile object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Invalid input + +
\ No newline at end of file diff --git a/products/nerm/api/post-user-profiles.api.mdx b/products/nerm/api/post-user-profiles.api.mdx new file mode 100644 index 000000000..633904519 --- /dev/null +++ b/products/nerm/api/post-user-profiles.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-user-profiles +sidebar_label: Create multiple user-profile contributor relationships +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUserProfiles","description":"Create multiple user-profile contributor relationships","tags":["user profiles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_profiles":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"user_profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"profile_id":{"type":"string","format":"uuid"},"ne_attribute_id":{"type":"string","format":"uuid"},"relationship_type":{"type":"string","enum":["owner","contributor"]}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/user_profiles","jsonRequestBodyExample":{"user_profiles":[{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","ne_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","relationship_type":"owner"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create multiple user-profile contributor relationships","description":{"content":"Create multiple user-profile contributor relationships","type":"text/plain"},"url":{"path":["user_profiles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create multiple user-profile contributor relationships' (post-user-profiles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create multiple user-profile contributor relationships + + + +Create multiple user-profile contributor relationships + +
Request Body required
    user_profiles object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    user_profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-user-role.api.mdx b/products/nerm/api/post-user-role.api.mdx new file mode 100644 index 000000000..5cfbc3c43 --- /dev/null +++ b/products/nerm/api/post-user-role.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-user-role +sidebar_label: Assign a new role to a user +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUserRole","description":"Assign a new role to a user","tags":["user roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_role":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user_role":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/user_role","jsonRequestBodyExample":{"user_role":{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","role_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Assign a new role to a user","description":{"content":"Assign a new role to a user","type":"text/plain"},"url":{"path":["user_role"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Assign a new role to a user' (post-user-role)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Assign a new role to a user + + + +Assign a new role to a user + +
Request Body required
    user_role object
+ +Expected response to a valid request + +
Schema
    user_role object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-user-roles.api.mdx b/products/nerm/api/post-user-roles.api.mdx new file mode 100644 index 000000000..936774234 --- /dev/null +++ b/products/nerm/api/post-user-roles.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-user-roles +sidebar_label: Create multiple new user role pairings +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUserRoles","description":"Create multiple new user role pairings","tags":["user roles"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user_roles":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"user_roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"user_id":{"type":"string","format":"uuid"},"role_id":{"type":"string","format":"uuid"}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/user_roles","jsonRequestBodyExample":{"user_roles":[{"user_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","role_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create multiple new user role pairings","description":{"content":"Create multiple new user role pairings","type":"text/plain"},"url":{"path":["user_roles"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create multiple new user role pairings' (post-user-roles)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create multiple new user role pairings + + + +Create multiple new user role pairings + +
Request Body required
    user_roles object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    user_roles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-user.api.mdx b/products/nerm/api/post-user.api.mdx new file mode 100644 index 000000000..e7e77cc49 --- /dev/null +++ b/products/nerm/api/post-user.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-user +sidebar_label: Create a new user +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUser","description":"Create a new user","tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"object","properties":{"name":{"type":"string","required":true},"email":{"type":"string","format":"email","required":true},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"profile_id":{"type":"string","format":"uuid"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"],"required":true},"login":{"type":"string","required":true},"admin":{"type":"boolean","default":false},"group_strings":{"type":"string","example":"Administrator_group,Developer_group"}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"user":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readonly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readonly":true},"name":{"type":"string"},"email":{"type":"string","format":"email"},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"]},"login":{"type":"string"},"last_login":{"type":"string","format":"date-time","readOnly":true},"cookies_accepted_at":{"type":"string","format":"date-time","readOnly":true},"preferred_language":{"type":"string"}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/user","jsonRequestBodyExample":{"user":{"name":"string","email":"user@example.com","type":"NeprofileUser","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","title":"string","status":"Active","login":"string","admin":false,"group_strings":"Administrator_group,Developer_group"}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create a new user","description":{"content":"Create a new user","type":"text/plain"},"url":{"path":["user"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a new user' (post-user)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create a new user + + + +Create a new user + +
Request Body required
    user object
+ +Expected response to a valid request + +
Schema
    user object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-users.api.mdx b/products/nerm/api/post-users.api.mdx new file mode 100644 index 000000000..52097631a --- /dev/null +++ b/products/nerm/api/post-users.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-users +sidebar_label: Create multiple new users +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postUsers","description":"Create multiple new users","tags":["users"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","required":true},"email":{"type":"string","format":"email","required":true},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"profile_id":{"type":"string","format":"uuid"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"],"required":true},"login":{"type":"string","required":true},"admin":{"type":"boolean","default":false},"group_strings":{"type":"string","example":"Administrator_group,Developer_group"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readonly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readonly":true},"name":{"type":"string"},"email":{"type":"string","format":"email"},"type":{"type":"string","enum":["NeprofileUser","NeaccessUser"],"default":"NeprofileUser"},"title":{"type":"string"},"status":{"type":"string","enum":["Active","Disabled"]},"login":{"type":"string"},"last_login":{"type":"string","format":"date-time","readOnly":true},"cookies_accepted_at":{"type":"string","format":"date-time","readOnly":true},"preferred_language":{"type":"string"}}}}}},{"type":"object","properties":{"info":{"type":"string","example":"job has started"},"job_status":{"type":"object","properties":{"job_id":{"type":"string","example":"3ce88e47ad6dba2ddf349d21"},"status":{"type":"string","example":"queued"}}},"status":{"type":"int","example":200}}}]}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/users","jsonRequestBodyExample":{"users":[{"name":"string","email":"user@example.com","type":"NeprofileUser","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","title":"string","status":"Active","login":"string","admin":false,"group_strings":"Administrator_group,Developer_group"}]},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create multiple new users","description":{"content":"Create multiple new users","type":"text/plain"},"url":{"path":["users"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create multiple new users' (post-users)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create multiple new users + + + +Create multiple new users + +
Request Body required
    users object[]
+ +Expected response to a valid request + +
Schema
    oneOf
    users object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    job_status object
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-workflow-session-upload.api.mdx b/products/nerm/api/post-workflow-session-upload.api.mdx new file mode 100644 index 000000000..36d3ffc61 --- /dev/null +++ b/products/nerm/api/post-workflow-session-upload.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-workflow-session-upload +sidebar_label: Uploads a new attachment attribute value to a workflow session +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postWorkflowSessionUpload","description":"Uploads a new attachment attribute value to a workflow session","tags":["workflow sessions"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"attribute_id","in":"path","description":"The id of the attachment attribute","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"url","readOnly":true}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/workflow_sessions/{id}/upload/{attribute_id}","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Uploads a new attachment attribute value to a workflow session","description":{"content":"Uploads a new attachment attribute value to a workflow session","type":"text/plain"},"url":{"path":["workflow_sessions",":id","upload",":attribute_id"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"},{"disabled":false,"description":{"content":"(Required) The id of the attachment attribute","type":"text/plain"},"type":"any","value":"","key":"attribute_id"}]},"header":[{"key":"Content-Type","value":"multipart/form-data"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"formdata","formdata":[]}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Uploads a new attachment attribute value to a workflow session' (post-workflow-session-upload)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Uploads a new attachment attribute value to a workflow session + + + +Uploads a new attachment attribute value to a workflow session + +
Path Parameters
Request Body required
+ +Expected response to a valid request + +
Schema
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/post-workflow-session.api.mdx b/products/nerm/api/post-workflow-session.api.mdx new file mode 100644 index 000000000..9def45aaf --- /dev/null +++ b/products/nerm/api/post-workflow-session.api.mdx @@ -0,0 +1,39 @@ +--- +id: post-workflow-session +sidebar_label: Create a workflow session +hide_title: true +hide_table_of_contents: true +api: {"operationId":"postWorkflowSession","description":"Create a workflow session","tags":["workflow sessions"],"parameters":[{"name":"run","in":"query","description":"Will run the created/updated workflow session if successful","required":false,"schema":{"type":"boolean","default":false}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"workflow_session":{"type":"object","properties":{"workflow_id":{"type":"string","format":"uuid","required":true},"requester_id":{"type":"string","format":"uuid","required":true},"requester_type":{"type":"string","enum":["User","NeprofileUser","NeaccessUser"],"required":true},"profile_id":{"type":"string","format":"uuid","description":"The profile this workflow session will be working with. Only Applicable for Update workflows"},"profile_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The profiles this workflow session will be working with. Only Applicable for Batch workflows"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"workflow_session":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"workflow_id":{"type":"string","format":"uuid"},"requester_id":{"type":"string","format":"uuid"},"requester_type":{"type":"string","enum":["User","NeprofileUser","NeaccessUser"]},"profile_id":{"type":"string","format":"uuid","description":"The profile this workflow session will be working with. Only Applicable for Update workflows"},"profile_ids":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The profiles this workflow session will be working with. Only Applicable for Batch workflows"},"status":{"type":"string","enum":["api_request_sent","approved","assigned","attempting_to_start_workflow","AUTH-STATUS1","AUTH-STATUS2","AUTH-STATUS3","AUTH-STATUS4","AUTH-STATUS5","AUTH-STATUS6","AUTH-STATUS7","AUTH-STATUS8","AUTH-STATUS9","auto_assigned","batch_completed","checking_for_duplicates","closed","completed","courion_add","courion_extend","courion_terminate","courion_update","duplicates_resolved","failed","fulfilled","invitation_sent","ldap_provided","new","non_employee_created","non_employee_updated","notified","pending_approval","pending_assignment","pending_courion_add","pending_courion_extend","pending_courion_terminate","pending_courion_update","pending_creation","pending_fulfillment","pending_ldap","pending_notification","pending_profile_select","pending_request","pending_review","pending_status_change","pending_stored_procedure","pending_trigger","pending_update","processing","profile_check_complete","profiles_selected","rejected","requested","reviewed","soap_request_sent","started_workflow","status_changed","stored_procedure","un_assigned","waiting_on_workflow","workflow_changed"],"example":"completed"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}},"400":{"description":"Bad Request - unable to complete.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"error":{"example":"Invalid JSON syntax. Please check your syntax and try again."}}},{"type":"object","properties":{"error":{"example":"The failed to create/update"},"errors":{"example":{"attribute":"can't be blank"}}}}]}}}},"500":{"description":"Internal Server Error - returned on unhandled exceptions.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"description":"A message describing the error","example":"Sorry something went wrong"}}}}}}},"method":"post","path":"/workflow_sessions","jsonRequestBodyExample":{"workflow_session":{"workflow_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","requester_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","requester_type":"User","profile_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","profile_ids":["3fa85f64-5717-4562-b3fc-2c963f66afa6"],"attributes":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Create a workflow session","description":{"content":"Create a workflow session","type":"text/plain"},"url":{"path":["workflow_sessions"],"host":["{{baseUrl}}"],"query":[{"disabled":false,"description":{"content":"Will run the created/updated workflow session if successful","type":"text/plain"},"key":"run","value":""}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Create a workflow session' (post-workflow-session)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Create a workflow session + + + +Create a workflow session + +
Query Parameters
Request Body required
    workflow_session object
    attributes object
  • property name* string
+ +Expected response to a valid request + +
Schema
    workflow_session object
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
+ +Bad Request - unable to complete. + +
Schema
    oneOf
+ +Internal Server Error - returned on unhandled exceptions. + +
Schema
\ No newline at end of file diff --git a/products/nerm/api/run-advanced-search.api.mdx b/products/nerm/api/run-advanced-search.api.mdx new file mode 100644 index 000000000..ea31b4655 --- /dev/null +++ b/products/nerm/api/run-advanced-search.api.mdx @@ -0,0 +1,31 @@ +--- +id: run-advanced-search +sidebar_label: Run an advanced search for profiles, without saving the query +hide_title: true +hide_table_of_contents: true +api: {"operationId":"runAdvancedSearch","description":"Run an advanced search for profiles, without saving the query","tags":["advanced search"],"parameters":[{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"advanced_search":{"type":"object","properties":{"label":{"type":"string"},"condition_rules_attributes":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileTypeRule"]},"comparison_operator":{"type":"string","required":true,"enum":["==","!="]},"value":{"type":"string","required":true,"format":"uuid"}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileStatusRule"]},"comparison_operator":{"type":"string","required":true,"enum":["==","!="]},"value":{"type":"string","required":true,"enum":["Active","Inactive","Leave of absence","Terminated"]}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["TextFieldAttribute","TextAreaAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["==","!=",">","<","start_with?","end_with?","include?"]},"value":{"type":"string","required":true,"example":"Some value"}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["DateAttribute"]},"condition_object_id":{"type":"string","format":"uuid"},"secondary_attribute_type":{"type":"string","enum":["DateAttribute"]},"secondary_attribute_id":{"type":"string","format":"uuid"},"comparison_operator":{"type":"string","enum":[">","<","after","before"]},"value":{"type":"string","required":true,"enum":["Today",""]},"secondary_value":{"type":"string","enum":["after","before"]},"tertiary_value":{"type":"string","example":30}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["ProfileAttributeRule"]},"condition_object_type":{"type":"string","required":true,"enum":["ProfileSelectAttribute","ProfileSearchAttribute","OwnerSelectAttribute","OwnerSearchAttribute","ContributorSelectAttribute","ContributorSearchAttribute"]},"condition_object_id":{"type":"string","required":true,"format":"uuid"},"comparison_operator":{"type":"string","required":true,"enum":["include?","exclude?"]},"value":{"type":"string","required":true,"format":"uuid"}}},{"type":"object","properties":{"type":{"type":"string","required":true,"enum":["RiskRule"]},"comparison_operator":{"type":"string","enum":["==",">","<"]},"value":{"type":"string","summary":"id of the Risk Level being compared against","required":true,"format":"uuid"},"secondary_value":{"type":"string","required":true,"enum":["OverallRisk"]}}}]}}}}}}}}},"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}}}},"method":"post","path":"/advanced_search/run","jsonRequestBodyExample":{"advanced_search":{"label":"string","condition_rules_attributes":[{"type":"ProfileTypeRule","comparison_operator":"==","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},{"type":"ProfileStatusRule","comparison_operator":"==","value":"Active"},{"type":"ProfileAttributeRule","condition_object_type":"TextFieldAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":"==","value":"Some value"},{"type":"ProfileAttributeRule","condition_object_type":"DateAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","secondary_attribute_type":"DateAttribute","secondary_attribute_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":">","value":"Today","secondary_value":"after","tertiary_value":30},{"type":"ProfileAttributeRule","condition_object_type":"ProfileSelectAttribute","condition_object_id":"3fa85f64-5717-4562-b3fc-2c963f66afa6","comparison_operator":"include?","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6"},{"type":"RiskRule","comparison_operator":"==","value":"3fa85f64-5717-4562-b3fc-2c963f66afa6","secondary_value":"OverallRisk"}]}},"info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Run an advanced search for profiles, without saving the query","description":{"content":"Run an advanced search for profiles, without saving the query","type":"text/plain"},"url":{"path":["advanced_search","run"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"\"\"","options":{"raw":{"language":"json"}}}}} +sidebar_class_name: "post api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Run an advanced search for profiles, without saving the query' (run-advanced-search)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Run an advanced search for profiles, without saving the query + + + +Run an advanced search for profiles, without saving the query + +
Query Parameters
Request Body required
    advanced_search object
    condition_rules_attributes object[]
    anyOf`, `<`, `start_with?`, `end_with?`, `include?`]"} defaultValue={undefined}>`, `<`, `after`, `before`]"} defaultValue={undefined}>`]"} defaultValue={undefined}>`, `<`]"} defaultValue={undefined}>
+ +Expected response to a valid request + +
Schema
    profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
\ No newline at end of file diff --git a/products/nerm/api/run-advanced-searchby-id.api.mdx b/products/nerm/api/run-advanced-searchby-id.api.mdx new file mode 100644 index 000000000..380a3ced5 --- /dev/null +++ b/products/nerm/api/run-advanced-searchby-id.api.mdx @@ -0,0 +1,31 @@ +--- +id: run-advanced-searchby-id +sidebar_label: Run a saved advanced search query +hide_title: true +hide_table_of_contents: true +api: {"operationId":"runAdvancedSearchbyID","description":"Run a saved advanced search query","tags":["advanced search"],"parameters":[{"name":"id","in":"path","description":"ID of the object to retrieve or update","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"query","in":"query","description":"Allows for pagination and sorting.","required":false,"schema":{"type":"object","properties":{"limit":{"type":"integer","example":100},"offset":{"type":"integer","example":50},"order":{"type":"string","example":"created_at"}}},"style":"deepObject","explode":true}],"responses":{"200":{"description":"Expected response to a valid request","content":{"application/json":{"schema":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","readOnly":true},"uid":{"type":"string","minLength":32,"maxLength":32,"readOnly":true},"name":{"type":"string"},"profile_type_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["Active","Inactive","On Leave","Terminated"]},"id_proofing_status":{"type":"string","enum":["pending","pass","fail"]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"attributes":{"type":"object","additionalProperties":{"type":"string"},"example":{"text_attribute_uid":"static text","date_attribute_uid":"01/15/2020","profile_select_attribute_uid":"Profile Name","multiple_profile_select_attribute_uid":"Profile Name,Second Profile Name,Third Profile Name","contributor_select_attribute_uid":"User Name","multiple_contributor_select_attribute_uid":"User Name,Second User Name,Third User Name"}}}}}}}}}}},"method":"get","path":"/advanced_search/{id}/run","info":{"version":"1.0.0","title":"SecZetta Lifecycle API","description":"The Lifecycle API can be used to access and modify various resources in your environment.","license":{"name":"MIT"}},"postman":{"name":"Run a saved advanced search query","description":{"content":"Run a saved advanced search query","type":"text/plain"},"url":{"path":["advanced_search",":id","run"],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) ID of the object to retrieve or update","type":"text/plain"},"type":"any","value":"","key":"id"}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET"}} +sidebar_class_name: "get api-method" +info_path: nerm/api/seczetta-lifecycle-api +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'Run a saved advanced search query' (run-advanced-searchby-id)" +--- + +import ApiTabs from "@theme/ApiTabs"; +import MimeTabs from "@theme/MimeTabs"; +import ParamsItem from "@theme/ParamsItem"; +import ResponseSamples from "@theme/ResponseSamples"; +import SchemaItem from "@theme/SchemaItem"; +import SchemaTabs from "@theme/SchemaTabs"; +import DiscriminatorTabs from "@theme/DiscriminatorTabs"; +import TabItem from "@theme/TabItem"; + +## Run a saved advanced search query + + + +Run a saved advanced search query + +
Path Parameters
Query Parameters
+ +Expected response to a valid request + +
Schema
    profiles object[]
    = 32 characters` and `<= 32 characters`"} defaultValue={undefined}>
    attributes object
  • property name* string
\ No newline at end of file diff --git a/products/nerm/api/seczetta-lifecycle-api.info.mdx b/products/nerm/api/seczetta-lifecycle-api.info.mdx new file mode 100644 index 000000000..45f5a39e3 --- /dev/null +++ b/products/nerm/api/seczetta-lifecycle-api.info.mdx @@ -0,0 +1,22 @@ +--- +id: seczetta-lifecycle-api +sidebar_label: Introduction +sidebar_position: 0 +hide_title: true +custom_edit_url: "https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here Requesting changes to 'SecZetta Lifecycle API' (seczetta-lifecycle-api)" +--- + +import ApiLogo from "@theme/ApiLogo"; +import Tabs from "@theme/Tabs"; +import TabItem from "@theme/TabItem"; +import Export from "@theme/ApiDemoPanel/Export"; + +Version: 1.0.0 + +# SecZetta Lifecycle API + + + +The Lifecycle API can be used to access and modify various resources in your environment. + +

License

\ No newline at end of file diff --git a/products/nerm/api/sidebar.js b/products/nerm/api/sidebar.js new file mode 100644 index 000000000..36b20e078 --- /dev/null +++ b/products/nerm/api/sidebar.js @@ -0,0 +1 @@ +module.exports = [{"type":"doc","id":"api/seczetta-lifecycle-api"},{"type":"category","label":"users","items":[{"type":"doc","id":"api/post-user","label":"Create a new user","className":"api-method post"},{"type":"doc","id":"api/get-users","label":"Get users","className":"api-method get"},{"type":"doc","id":"api/post-users","label":"Create multiple new users","className":"api-method post"},{"type":"doc","id":"api/patch-users","label":"Update multiple users","className":"api-method patch"},{"type":"doc","id":"api/get-user","label":"Find user by id","className":"api-method get"},{"type":"doc","id":"api/patch-user","label":"Update a user by id","className":"api-method patch"},{"type":"doc","id":"api/delete-user","label":"Delete a user","className":"api-method delete"},{"type":"doc","id":"api/get-user-avatar","label":"Retrieves the URL of the user avatar","className":"api-method get"},{"type":"doc","id":"api/post-user-avatar","label":"Uploads a new user avatar","className":"api-method post"}]},{"type":"category","label":"user managers","items":[{"type":"doc","id":"api/post-user-manager","label":"Create a new user-manager relationship","className":"api-method post"},{"type":"doc","id":"api/get-user-managers","label":"Get user-manager relationships","className":"api-method get"},{"type":"doc","id":"api/post-user-managers","label":"Create multiple new user-manager relationships","className":"api-method post"},{"type":"doc","id":"api/patch-user-managers","label":"Update multiple user-manager relationships","className":"api-method patch"},{"type":"doc","id":"api/get-user-manager","label":"Find user-manager relationship by id","className":"api-method get"},{"type":"doc","id":"api/patch-user-manager","label":"Update a user-manager relationship by id","className":"api-method patch"}]},{"type":"category","label":"roles","items":[{"type":"doc","id":"api/get-roles","label":"Get roles","className":"api-method get"},{"type":"doc","id":"api/post-roles","label":"Create multiple new roles","className":"api-method post"},{"type":"doc","id":"api/patch-roles","label":"Update multiple roles","className":"api-method patch"},{"type":"doc","id":"api/post-role","label":"Create a new role","className":"api-method post"},{"type":"doc","id":"api/get-role","label":"Find role by id","className":"api-method get"},{"type":"doc","id":"api/patch-role","label":"Update an existing role","className":"api-method patch"}]},{"type":"category","label":"user roles","items":[{"type":"doc","id":"api/post-user-role","label":"Assign a new role to a user","className":"api-method post"},{"type":"doc","id":"api/get-user-roles","label":"Get user role pairings","className":"api-method get"},{"type":"doc","id":"api/post-user-roles","label":"Create multiple new user role pairings","className":"api-method post"},{"type":"doc","id":"api/patch-user-roles","label":"Update multiple user role pairings","className":"api-method patch"},{"type":"doc","id":"api/get-user-role","label":"Find user role pairing by id","className":"api-method get"},{"type":"doc","id":"api/patch-user-role","label":"Update a user role pairing by id","className":"api-method patch"},{"type":"doc","id":"api/delete-user-role","label":"Delete a user role assignment","className":"api-method delete"}]},{"type":"category","label":"attributes","items":[{"type":"doc","id":"api/get-attributes","label":"Get attribute data in bulk","className":"api-method get"},{"type":"doc","id":"api/get-attribute","label":"Find attribute data by id","className":"api-method get"}]},{"type":"category","label":"attribute options","items":[{"type":"doc","id":"api/post-attribute-option","label":"Add a value to an option based attribute","className":"api-method post"},{"type":"doc","id":"api/get-attribute-options","label":"Get option based attribute values","className":"api-method get"},{"type":"doc","id":"api/post-attribute-options","label":"Create multiple new option based attribute values","className":"api-method post"},{"type":"doc","id":"api/patch-attribute-options","label":"Update multiple option based attribute values","className":"api-method patch"},{"type":"doc","id":"api/get-attribute-option","label":"Find option based attribute value by id","className":"api-method get"},{"type":"doc","id":"api/patch-attribute-option","label":"Update a option based attribute value by id","className":"api-method patch"},{"type":"doc","id":"api/delete-attribute-option","label":"Delete a option based attribute value by id","className":"api-method delete"}]},{"type":"category","label":"profile types","items":[{"type":"doc","id":"api/post-profile-type","label":"Create a profile type","className":"api-method post"},{"type":"doc","id":"api/get-profile-types","label":"Get profile types","className":"api-method get"},{"type":"doc","id":"api/get-profile-type","label":"Find profile type by id","className":"api-method get"},{"type":"doc","id":"api/patch-profile-type","label":"Update a profile type by id","className":"api-method patch"},{"type":"doc","id":"api/delete-profile-type","label":"Delete profile type","className":"api-method delete"}]},{"type":"category","label":"profiles","items":[{"type":"doc","id":"api/post-profile","label":"Create a profile","className":"api-method post"},{"type":"doc","id":"api/get-profiles","label":"Get profiles","className":"api-method get"},{"type":"doc","id":"api/post-profiles","label":"Create multiple profiles","className":"api-method post"},{"type":"doc","id":"api/patch-profiles","label":"Update multiple profiles","className":"api-method patch"},{"type":"doc","id":"api/delete-profiles","label":"Delete multiple profiles","className":"api-method delete"},{"type":"doc","id":"api/get-profile","label":"Find profile by id","className":"api-method get"},{"type":"doc","id":"api/patch-profile","label":"Update a profile by id","className":"api-method patch"},{"type":"doc","id":"api/get-profile-upload","label":"Retrieves the URL of an attachment attribute value from a profile","className":"api-method get"},{"type":"doc","id":"api/post-profile-upload","label":"Uploads a new attachment attribute value to a profile","className":"api-method post"},{"type":"doc","id":"api/get-profile-avatar","label":"Retrieves the URL of the profile avatar","className":"api-method get"},{"type":"doc","id":"api/post-profile-avatar","label":"Uploads a new profile avatar","className":"api-method post"}]},{"type":"category","label":"risk scores","items":[{"type":"doc","id":"api/get-risk-scores","label":"Get risk score data in bulk","className":"api-method get"},{"type":"doc","id":"api/get-risk-score","label":"Find risk score data by id","className":"api-method get"}]},{"type":"category","label":"risk levels","items":[{"type":"doc","id":"api/get-risk-levels","label":"Get risk level data in bulk","className":"api-method get"},{"type":"doc","id":"api/get-risk-level","label":"Find risk level data by id","className":"api-method get"}]},{"type":"category","label":"user profiles","items":[{"type":"doc","id":"api/post-user-profile","label":"Create a user-profile contributor relationship","className":"api-method post"},{"type":"doc","id":"api/get-user-profiles","label":"Get user-profile contributor relationships","className":"api-method get"},{"type":"doc","id":"api/post-user-profiles","label":"Create multiple user-profile contributor relationships","className":"api-method post"},{"type":"doc","id":"api/patch-user-profiles","label":"Update multiple user-profile contributor relationships","className":"api-method patch"},{"type":"doc","id":"api/get-user-profile","label":"Find user-profile contributor relationship by id","className":"api-method get"},{"type":"doc","id":"api/patch-user-profile","label":"Update a user-profile contributor relationship by id","className":"api-method patch"},{"type":"doc","id":"api/delete-user-profile","label":"Delete a user profile assignment","className":"api-method delete"}]},{"type":"category","label":"role profiles","items":[{"type":"doc","id":"api/post-role-profile","label":"Create a role-profile contributor relationship","className":"api-method post"},{"type":"doc","id":"api/get-role-profiles","label":"Get role-profile contributor relationships","className":"api-method get"},{"type":"doc","id":"api/post-role-profiles","label":"Create multiple role-profile contributor relationships","className":"api-method post"},{"type":"doc","id":"api/patch-role-profiles","label":"Update multiple role-profile contributor relationships","className":"api-method patch"},{"type":"doc","id":"api/get-role-profile","label":"Find role-profile contributor relationship by id","className":"api-method get"},{"type":"doc","id":"api/patch-role-profile","label":"Update a role-profile contributor relationship by id","className":"api-method patch"},{"type":"doc","id":"api/delete-role-profile","label":"Delete a role profile assignment","className":"api-method delete"}]},{"type":"category","label":"workflow sessions","items":[{"type":"doc","id":"api/get-workflow-sessions","label":"Get workflow sessions","className":"api-method get"},{"type":"doc","id":"api/post-workflow-session","label":"Create a workflow session","className":"api-method post"},{"type":"doc","id":"api/get-workflow-session","label":"Find workflow session by id","className":"api-method get"},{"type":"doc","id":"api/patch-workflow-session","label":"Update a workflow session by id","className":"api-method patch"},{"type":"doc","id":"api/get-workflow-session-upload","label":"Retrieves the URL of an attachment attribute value from a workflow session","className":"api-method get"},{"type":"doc","id":"api/post-workflow-session-upload","label":"Uploads a new attachment attribute value to a workflow session","className":"api-method post"}]},{"type":"category","label":"identity proofing results","items":[{"type":"doc","id":"api/get-identity-proofing-results","label":"Get identity proofing result data in bulk","className":"api-method get"}]},{"type":"category","label":"advanced search","items":[{"type":"doc","id":"api/get-advanced-search","label":"Get saved advanced search queries","className":"api-method get"},{"type":"doc","id":"api/post-advanced-search","label":"Save an advanced search query for later use","className":"api-method post"},{"type":"doc","id":"api/run-advanced-search","label":"Run an advanced search for profiles, without saving the query","className":"api-method post"},{"type":"doc","id":"api/patch-advanced-search","label":"Update a saved advanced search query","className":"api-method patch"},{"type":"doc","id":"api/run-advanced-searchby-id","label":"Run a saved advanced search query","className":"api-method get"}]},{"type":"category","label":"job status","items":[{"type":"doc","id":"api/get-job-status","label":"Get the status of a bulk job","className":"api-method get"}]}]; \ No newline at end of file diff --git a/products/nerm/sidebar.js b/products/nerm/sidebar.js new file mode 100644 index 000000000..c11dfb636 --- /dev/null +++ b/products/nerm/sidebar.js @@ -0,0 +1,19 @@ +const sidebars = { + nermOpenApiSidebar: [ + { + type: 'category', + label: 'NERM API', + link: { + type: 'generated-index', + title: 'NERM API', + description: + "These are the NERM APIs for SailPoint. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.", + slug: '/api', + }, + // @ts-ignore + items: require('./api/sidebar.js'), + }, + ], + }; + + module.exports = sidebars; \ No newline at end of file diff --git a/static/api-specs/nerm/openapi.yaml b/static/api-specs/nerm/openapi.yaml new file mode 100644 index 000000000..e024e75d9 --- /dev/null +++ b/static/api-specs/nerm/openapi.yaml @@ -0,0 +1,119 @@ +openapi: "3.0.0" +info: + version: 1.0.0 + title: SecZetta Lifecycle API + description: The Lifecycle API can be used to access and modify various resources in your environment. + license: + name: MIT +paths: +# Users + /user: + $ref: "./paths/user.yaml" + /users: + $ref: "./paths/users.yaml" + /users/{id}: + $ref: "./paths/users_id.yaml" + /users/{id}/avatar: + $ref: "./paths/users_id_avatar.yaml" +# User Manager Relationships + /user_manager: + $ref: "./paths/user_manager.yaml" + /user_managers: + $ref: "./paths/user_managers.yaml" + /user_managers/{id}: + $ref: "./paths/user_managers_id.yaml" +# Roles + /roles: + $ref: "./paths/roles.yaml" + /role: + $ref: "./paths/role.yaml" + /roles/{id}: + $ref: "./paths/roles_id.yaml" +# User Roles + /user_role: + $ref: "./paths/user_role.yaml" + /user_roles: + $ref: "./paths/user_roles.yaml" + /user_roles/{id}: + $ref: "./paths/user_roles_id.yaml" + /user_role/{id}: + $ref: "./paths/user_role_id.yaml" +# Attributes + /ne_attributes: + $ref: "./paths/ne_attributes.yaml" + /ne_attributes/{id}: + $ref: "./paths/ne_attributes_id.yaml" + /ne_attribute_option: + $ref: "./paths/ne_attribute_option.yaml" + /ne_attribute_options: + $ref: "./paths/ne_attribute_options.yaml" + /ne_attribute_options/{id}: + $ref: "./paths/ne_attribute_options_id.yaml" +# Profile Types + /profile_type: + $ref: "./paths/profile_type.yaml" + /profile_types: + $ref: "./paths/profile_types.yaml" + /profile_types/{id}: + $ref: "./paths/profile_types_id.yaml" +# Profiles + /profile: + $ref: "./paths/profile.yaml" + /profiles: + $ref: "./paths/profiles.yaml" + /profiles/{id}: + $ref: "./paths/profiles_id.yaml" + /profiles/{id}/upload/{attribute_id}: + $ref: "./paths/profiles_id_upload_attribute_id.yaml" + /profiles/{id}/avatar: + $ref: "./paths/profiles_id_avatar.yaml" +# Risk Scores + /risk_scores: + $ref: "./paths/risk_scores.yaml" + /risk_scores/{id}: + $ref: "./paths/risk_scores_id.yaml" +# Risk Levels + /risk_levels: + $ref: "./paths/risk_levels.yaml" + /risk_levels/{id}: + $ref: "./paths/risk_levels_id.yaml" +# User Contributor Relationships + /user_profile: + $ref: "./paths/user_profile.yaml" + /user_profiles: + $ref: "./paths/user_profiles.yaml" + /user_profiles/{id}: + $ref: "./paths/user_profiles_id.yaml" + /user_profile/{id}: + $ref: "./paths/user_profile_id.yaml" +# Role Contributor Relationships + /role_profile: + $ref: "./paths/role_profile.yaml" + /role_profiles: + $ref: "./paths/role_profiles.yaml" + /role_profiles/{id}: + $ref: "./paths/role_profiles_id.yaml" + /role_profile/{id}: + $ref: "./paths/role_profile_id.yaml" +# Workflow Sessions + /workflow_sessions: + $ref: "./paths/workflow_sessions.yaml" + /workflow_sessions/{id}: + $ref: "./paths/workflow_sessions_id.yaml" + /workflow_sessions/{id}/upload/{attribute_id}: + $ref: "./paths/workflow_sessions_id_upload_attribute_id.yaml" +# Identity Proofing Results + /identity_proofing_results: + $ref: "./paths/identity_proofing_results.yaml" +# Advanced Search + /advanced_search: + $ref: "./paths/advanced_search.yaml" + /advanced_search/run: + $ref: "./paths/advanced_search_run.yaml" + /advanced_search/{id}: + $ref: "./paths/advanced_search_id.yaml" + /advanced_search/{id}/run: + $ref: "./paths/advanced_search_id_run.yaml" +# Jobs + /job_status: + $ref: "./paths/job_status.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/_index.yaml b/static/api-specs/nerm/parameters/_index.yaml new file mode 100644 index 000000000..3576a3d89 --- /dev/null +++ b/static/api-specs/nerm/parameters/_index.yaml @@ -0,0 +1,60 @@ +# Path +id: + $ref: './path/id.yaml' +attribute_id: + $ref: './path/attribute_id.yaml' +# Query +limit: + $ref: './query/limit.yaml' +offset: + $ref: './query/offset.yaml' +user_id: + $ref: './query/user_id.yaml' +manager_id: + $ref: './query/manager_id.yaml' +role_id: + $ref: './query/role_id.yaml' +label: + $ref: './query/label.yaml' +data_type: + $ref: './query/data_type.yaml' +ne_attribute_id: + $ref: './query/ne_attribute_id.yaml' +option: + $ref: './query/option.yaml' +name: + $ref: './query/name.yaml' +archived: + $ref: './query/archived.yaml' +profile_type_id: + $ref: './query/profile_type_id.yaml' +status: + $ref: './query/status.yaml' +object_id: + $ref: './query/object_id.yaml' +object_type: + $ref: './query/object_type.yaml' +overall_risk_level_id: + $ref: './query/overall_risk_level_id.yaml' +impact_risk_level_id: + $ref: './query/impact_risk_level_id.yaml' +probability_risk_level_id: + $ref: './query/probability_risk_level_id.yaml' +profile_id: + $ref: './query/profile_id.yaml' +relationship_type: + $ref: './query/relationship_type.yaml' +uid: + $ref: './query/uid.yaml' +workflow_id: + $ref: './query/workflow_id.yaml' +requester_id: + $ref: './query/requester_id.yaml' +status_uid: + $ref: './query/status_uid.yaml' +workflow_session_id: + $ref: './query/workflow_session_id.yaml' +result: + $ref: './query/result.yaml' +metadata: + $ref: './query/metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/path/attribute_id.yaml b/static/api-specs/nerm/parameters/path/attribute_id.yaml new file mode 100644 index 000000000..bd5d28e89 --- /dev/null +++ b/static/api-specs/nerm/parameters/path/attribute_id.yaml @@ -0,0 +1,7 @@ +name: attribute_id +in: path +description: The id of the attachment attribute +required: true +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/path/id.yaml b/static/api-specs/nerm/parameters/path/id.yaml new file mode 100644 index 000000000..76361e732 --- /dev/null +++ b/static/api-specs/nerm/parameters/path/id.yaml @@ -0,0 +1,7 @@ +name: id +in: path +description: ID of the object to retrieve or update +required: true +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/archived.yaml b/static/api-specs/nerm/parameters/query/archived.yaml new file mode 100644 index 000000000..3ca1144c3 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/archived.yaml @@ -0,0 +1,7 @@ +name: archived +in: query +description: Filter by archive status +required: false +schema: + type: boolean + default: false \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/data_type.yaml b/static/api-specs/nerm/parameters/query/data_type.yaml new file mode 100644 index 000000000..07ff572e4 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/data_type.yaml @@ -0,0 +1,7 @@ +name: data_type +in: query +description: The attribute data type to filter by +required: false +schema: + type: string + enum: [text field, text area, drop-down, radio buttons, check boxes, date, tags, attachment, profile select, profile search, owner select, owner search, contributor select, contributor search] \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/email.yaml b/static/api-specs/nerm/parameters/query/email.yaml new file mode 100644 index 000000000..e7a35b61d --- /dev/null +++ b/static/api-specs/nerm/parameters/query/email.yaml @@ -0,0 +1,7 @@ +name: email +in: query +description: The user email to search by +required: false +schema: + type: string + format: email \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/exclude_attributes.yaml b/static/api-specs/nerm/parameters/query/exclude_attributes.yaml new file mode 100644 index 000000000..7d93aa0a8 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/exclude_attributes.yaml @@ -0,0 +1,7 @@ +name: exclude_attributes +in: query +description: Allows for optimization by not returning the associated attribute data for the returned profiles +required: false +schema: + type: boolean + default: false \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/impact_risk_level_id.yaml b/static/api-specs/nerm/parameters/query/impact_risk_level_id.yaml new file mode 100644 index 000000000..7aa5afac7 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/impact_risk_level_id.yaml @@ -0,0 +1,7 @@ +name: impact_risk_level_id +in: query +description: Impact risk level to filter by +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/job_id.yaml b/static/api-specs/nerm/parameters/query/job_id.yaml new file mode 100644 index 000000000..bc9b2f32c --- /dev/null +++ b/static/api-specs/nerm/parameters/query/job_id.yaml @@ -0,0 +1,6 @@ +name: job_id +in: query +description: The id of the job returned from a POST or PATCH endpoint that resulted in a job being created +required: true +schema: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/label.yaml b/static/api-specs/nerm/parameters/query/label.yaml new file mode 100644 index 000000000..e22136c34 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/label.yaml @@ -0,0 +1,6 @@ +name: label +in: query +description: The attribute label to filter by +required: false +schema: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/login.yaml b/static/api-specs/nerm/parameters/query/login.yaml new file mode 100644 index 000000000..086e07974 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/login.yaml @@ -0,0 +1,6 @@ +name: login +in: query +description: The user login to search by +required: false +schema: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/manager_id.yaml b/static/api-specs/nerm/parameters/query/manager_id.yaml new file mode 100644 index 000000000..95e8a59b9 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/manager_id.yaml @@ -0,0 +1,7 @@ +name: manager_id +in: query +description: The ID of a user for filtering +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/metadata.yaml b/static/api-specs/nerm/parameters/query/metadata.yaml new file mode 100644 index 000000000..3a4a02643 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/metadata.yaml @@ -0,0 +1,7 @@ +name: metadata +in: query +description: Returns batching metadata in the response +required: false +schema: + type: boolean + default: false \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/name.yaml b/static/api-specs/nerm/parameters/query/name.yaml new file mode 100644 index 000000000..140b4efa8 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/name.yaml @@ -0,0 +1,6 @@ +name: name +in: query +description: object name for filtering +required: false +schema: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/ne_attribute_id.yaml b/static/api-specs/nerm/parameters/query/ne_attribute_id.yaml new file mode 100644 index 000000000..6780d0976 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/ne_attribute_id.yaml @@ -0,0 +1,7 @@ +name: ne_attribute_id +in: query +description: ID of an attribute for filtering +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/object_id.yaml b/static/api-specs/nerm/parameters/query/object_id.yaml new file mode 100644 index 000000000..d2ccd7a71 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/object_id.yaml @@ -0,0 +1,7 @@ +name: object_id +in: query +description: ID of an object for filtering. Used along with object_type +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/object_type.yaml b/static/api-specs/nerm/parameters/query/object_type.yaml new file mode 100644 index 000000000..73e610fa3 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/object_type.yaml @@ -0,0 +1,7 @@ +name: object_type +in: query +description: Type of object that object_id represents +required: false +schema: + type: string + enum: [Profile, WorkflowSession] \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/option.yaml b/static/api-specs/nerm/parameters/query/option.yaml new file mode 100644 index 000000000..68a2c5265 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/option.yaml @@ -0,0 +1,6 @@ +name: option +in: query +description: attribute option label for filtering +required: false +schema: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/overall_risk_level_id.yaml b/static/api-specs/nerm/parameters/query/overall_risk_level_id.yaml new file mode 100644 index 000000000..485693240 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/overall_risk_level_id.yaml @@ -0,0 +1,7 @@ +name: overall_risk_level_id +in: query +description: Overall risk level to filter by +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/probability_risk_level_id.yaml b/static/api-specs/nerm/parameters/query/probability_risk_level_id.yaml new file mode 100644 index 000000000..a793f6bbc --- /dev/null +++ b/static/api-specs/nerm/parameters/query/probability_risk_level_id.yaml @@ -0,0 +1,7 @@ +name: probability_risk_level_id +in: query +description: Probability risk level to filter by +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/profile_id.yaml b/static/api-specs/nerm/parameters/query/profile_id.yaml new file mode 100644 index 000000000..4a788012a --- /dev/null +++ b/static/api-specs/nerm/parameters/query/profile_id.yaml @@ -0,0 +1,7 @@ +name: profile_id +in: query +description: Profile ID to filter by +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/profile_type_id.yaml b/static/api-specs/nerm/parameters/query/profile_type_id.yaml new file mode 100644 index 000000000..65075491e --- /dev/null +++ b/static/api-specs/nerm/parameters/query/profile_type_id.yaml @@ -0,0 +1,7 @@ +name: profile_type_id +in: query +description: Profile Type ID for filtering +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/query.yaml b/static/api-specs/nerm/parameters/query/query.yaml new file mode 100644 index 000000000..c584b3c52 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/query.yaml @@ -0,0 +1,18 @@ +name: query +in: query +description: Allows for pagination and sorting. +required: false +schema: + type: object + properties: + limit: + type: integer + example: 100 + offset: + type: integer + example: 50 + order: + type: string + example: created_at +style: deepObject +explode: true diff --git a/static/api-specs/nerm/parameters/query/relationship_type.yaml b/static/api-specs/nerm/parameters/query/relationship_type.yaml new file mode 100644 index 000000000..a6f953d76 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/relationship_type.yaml @@ -0,0 +1,7 @@ +name: relationship_type +in: query +description: Type of user contributor relationship to filter by +required: false +schema: + type: string + enum: [owner, contributor] \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/requester_id.yaml b/static/api-specs/nerm/parameters/query/requester_id.yaml new file mode 100644 index 000000000..f1ce95e91 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/requester_id.yaml @@ -0,0 +1,7 @@ +name: requester_id +in: query +description: Requester ID for filtering +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/result.yaml b/static/api-specs/nerm/parameters/query/result.yaml new file mode 100644 index 000000000..8f3fdcb3c --- /dev/null +++ b/static/api-specs/nerm/parameters/query/result.yaml @@ -0,0 +1,7 @@ +name: result +in: query +description: ID Proofing Result to filter by +required: false +schema: + type: string + enum: [pass, fail] \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/role_id.yaml b/static/api-specs/nerm/parameters/query/role_id.yaml new file mode 100644 index 000000000..abb841bbe --- /dev/null +++ b/static/api-specs/nerm/parameters/query/role_id.yaml @@ -0,0 +1,7 @@ +name: role_id +in: query +description: The ID of a role for filtering +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/run.yaml b/static/api-specs/nerm/parameters/query/run.yaml new file mode 100644 index 000000000..cf53c5f20 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/run.yaml @@ -0,0 +1,7 @@ +name: run +in: query +description: Will run the created/updated workflow session if successful +required: false +schema: + type: boolean + default: false \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/status.yaml b/static/api-specs/nerm/parameters/query/status.yaml new file mode 100644 index 000000000..f02190b79 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/status.yaml @@ -0,0 +1,7 @@ +name: status +in: query +description: status value for filtering +required: false +schema: + type: string + enum: [Active, Inactive, On Leave, Terminated] \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/title.yaml b/static/api-specs/nerm/parameters/query/title.yaml new file mode 100644 index 000000000..617ea14b1 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/title.yaml @@ -0,0 +1,6 @@ +name: title +in: query +description: The user title to search by +required: false +schema: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/uid.yaml b/static/api-specs/nerm/parameters/query/uid.yaml new file mode 100644 index 000000000..4f5408a1f --- /dev/null +++ b/static/api-specs/nerm/parameters/query/uid.yaml @@ -0,0 +1,8 @@ +name: uid +in: query +description: Workflow session uid for filtering +required: false +schema: + type: string + minLength: 32 + maxLength: 32 \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/user_id.yaml b/static/api-specs/nerm/parameters/query/user_id.yaml new file mode 100644 index 000000000..439b3e3a2 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/user_id.yaml @@ -0,0 +1,7 @@ +name: user_id +in: query +description: The ID of a user for filtering +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/workflow_id.yaml b/static/api-specs/nerm/parameters/query/workflow_id.yaml new file mode 100644 index 000000000..43b42fbc3 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/workflow_id.yaml @@ -0,0 +1,7 @@ +name: workflow_id +in: query +description: Workflow ID for filtering +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/workflow_session_id.yaml b/static/api-specs/nerm/parameters/query/workflow_session_id.yaml new file mode 100644 index 000000000..bac2602fa --- /dev/null +++ b/static/api-specs/nerm/parameters/query/workflow_session_id.yaml @@ -0,0 +1,7 @@ +name: workflow_session_id +in: query +description: Workflow Session ID to filter by +required: false +schema: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/parameters/query/workflow_session_status.yaml b/static/api-specs/nerm/parameters/query/workflow_session_status.yaml new file mode 100644 index 000000000..95e920c14 --- /dev/null +++ b/static/api-specs/nerm/parameters/query/workflow_session_status.yaml @@ -0,0 +1,70 @@ +name: status +in: query +description: filter by workflow session status +required: false +schema: + type: string + enum: [ + "waiting on workflow", + "identity proofing completed", + "new", + "closing", + "pending request", + "requested", + "pending approval", + "approved", + "pending notification", + "notified", + "pending review", + "reviewed", + "pending trigger", + "stored procedure", + "pending status change", + "status changed", + "pending update", + "non employee updated", + "non employee created", + "pending creation", + "rejected", + "pending assignment", + "assigned", + "default", + "failed", + "un assigned", + "auto assigned", + "ldap provided", + "pending ldap", + "pending fulfillment", + "pending stored procedure", + "pending courion add", + "fulfilled", + "pending courion update", + "courion add", + "pending courion_extend", + "courion update", + "pending courion terminate", + "courion extend", + "pending profile select", + "courion terminate", + "batch completed", + "profiles selected", + "answered questions", + "pending questions", + "attempting to start workflow", + "started workflow", + "profile check complete", + "completed", + "processing", + "pending set attribute", + "invitation sent", + "action skipped", + "api request sent", + "attribute set", + "disabled", + "duplicates resolved", + "soap request sent", + "checking for duplicates", + "pending identity proofing", + "closed", + "workflow changed" + ] \ No newline at end of file diff --git a/static/api-specs/nerm/paths/advanced_search.yaml b/static/api-specs/nerm/paths/advanced_search.yaml new file mode 100644 index 000000000..513fda0e0 --- /dev/null +++ b/static/api-specs/nerm/paths/advanced_search.yaml @@ -0,0 +1,20 @@ +get: + summary: Get saved advanced search queries + operationId: getAdvancedSearch + description: Get saved advanced search queries + tags: + - advanced search + responses: + '200': + $ref: "../responses/AdvancedSearches.yaml" +post: + summary: Save an advanced search query for later use + operationId: postAdvancedSearch + description: Save an advanced search query for later use + tags: + - advanced search + requestBody: + $ref: "../requestBodies/POST/AdvancedSearch.yaml" + responses: + '200': + $ref: "../responses/AdvancedSearch.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/advanced_search_id.yaml b/static/api-specs/nerm/paths/advanced_search_id.yaml new file mode 100644 index 000000000..4525f182f --- /dev/null +++ b/static/api-specs/nerm/paths/advanced_search_id.yaml @@ -0,0 +1,13 @@ +patch: + summary: Update a saved advanced search query + operationId: patchAdvancedSearch + description: Update a saved advanced search query + tags: + - advanced search + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/PATCH/AdvancedSearch.yaml" + responses: + '200': + $ref: "../responses/AdvancedSearch.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/advanced_search_id_run.yaml b/static/api-specs/nerm/paths/advanced_search_id_run.yaml new file mode 100644 index 000000000..4167b8532 --- /dev/null +++ b/static/api-specs/nerm/paths/advanced_search_id_run.yaml @@ -0,0 +1,12 @@ +get: + summary: Run a saved advanced search query + operationId: runAdvancedSearchbyID + description: Run a saved advanced search query + tags: + - advanced search + parameters: + - $ref: "../parameters/path/id.yaml" + - $ref: "../parameters/query/query.yaml" + responses: + '200': + $ref: "../responses/Profiles.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/advanced_search_run.yaml b/static/api-specs/nerm/paths/advanced_search_run.yaml new file mode 100644 index 000000000..b6a8b3c00 --- /dev/null +++ b/static/api-specs/nerm/paths/advanced_search_run.yaml @@ -0,0 +1,13 @@ +post: + summary: Run an advanced search for profiles, without saving the query + operationId: runAdvancedSearch + description: Run an advanced search for profiles, without saving the query + tags: + - advanced search + parameters: + - $ref: "../parameters/query/query.yaml" + requestBody: + $ref: "../requestBodies/POST/AdvancedSearch.yaml" + responses: + '200': + $ref: "../responses/Profiles.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/identity_proofing_results.yaml b/static/api-specs/nerm/paths/identity_proofing_results.yaml new file mode 100644 index 000000000..f0e2d03b7 --- /dev/null +++ b/static/api-specs/nerm/paths/identity_proofing_results.yaml @@ -0,0 +1,15 @@ +get: + summary: Get identity proofing result data in bulk + operationId: getIdentityProofingResults + description: This endpoint can retrieve identity proofing result data in bulk from Lifecycle + tags: + - identity proofing results + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/profile_id.yaml" + - $ref: "../parameters/query/workflow_session_id.yaml" + - $ref: "../parameters/query/result.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/IdentityProofingResults.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/job_status.yaml b/static/api-specs/nerm/paths/job_status.yaml new file mode 100644 index 000000000..7eb53d8e5 --- /dev/null +++ b/static/api-specs/nerm/paths/job_status.yaml @@ -0,0 +1,15 @@ +get: + summary: Get the status of a bulk job + operationId: getJobStatus + description: Get the status of a bulk job + tags: + - job status + parameters: + - $ref: "../parameters/query/job_id.yaml" + responses: + '200': + $ref: "../responses/Job.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" diff --git a/static/api-specs/nerm/paths/ne_attribute_option.yaml b/static/api-specs/nerm/paths/ne_attribute_option.yaml new file mode 100644 index 000000000..bf5cf08e8 --- /dev/null +++ b/static/api-specs/nerm/paths/ne_attribute_option.yaml @@ -0,0 +1,13 @@ +post: + summary: Add a value to an option based attribute + operationId: postAttributeOption + description: Add a value to an option based attribute + tags: + - attribute options + requestBody: + $ref: "../requestBodies/POST/AttributeOption.yaml" + responses: + '200': + $ref: "../responses/AttributeOption.yaml" + '405': + $ref: "../responses/InvalidInput.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/ne_attribute_options.yaml b/static/api-specs/nerm/paths/ne_attribute_options.yaml new file mode 100644 index 000000000..458e5dc99 --- /dev/null +++ b/static/api-specs/nerm/paths/ne_attribute_options.yaml @@ -0,0 +1,48 @@ +get: + summary: Get option based attribute values + operationId: getAttributeOptions + description: Get option based attribute values + tags: + - attribute options + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/ne_attribute_id.yaml" +# - $ref: "../parameters/query/option.yaml" - Not implemented as of 4.16.2 + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/AttributeOptions_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create multiple new option based attribute values + operationId: postAttributeOptions + description: Create multiple new option based attribute values + tags: + - attribute options + requestBody: + $ref: "../requestBodies/POST/AttributeOptions.yaml" + responses: + '200': + $ref: "../responses/AttributeOptionsJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update multiple option based attribute values + operationId: patchAttributeOptions + description: Update multiple option based attribute values + tags: + - attribute options + requestBody: + $ref: "../requestBodies/PATCH/AttributeOptions.yaml" + responses: + '200': + $ref: "../responses/AttributeOptionsJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/ne_attribute_options_id.yaml b/static/api-specs/nerm/paths/ne_attribute_options_id.yaml new file mode 100644 index 000000000..13b628027 --- /dev/null +++ b/static/api-specs/nerm/paths/ne_attribute_options_id.yaml @@ -0,0 +1,47 @@ +get: + summary: Find option based attribute value by id + operationId: getAttributeOption + description: Info for a specific option based attribute value + tags: + - attribute options + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/AttributeOption.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a option based attribute value by id + operationId: patchAttributeOption + description: Update a option based attribute value by id + tags: + - attribute options + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/PATCH/AttributeOption.yaml" + responses: + '200': + $ref: "../responses/AttributeOption.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +delete: + summary: Delete a option based attribute value by id + operationId: deleteAttributeOption + description: Delete a option based attribute value by id + tags: + - attribute options + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/DeleteConfirmation.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/ne_attributes.yaml b/static/api-specs/nerm/paths/ne_attributes.yaml new file mode 100644 index 000000000..ded091106 --- /dev/null +++ b/static/api-specs/nerm/paths/ne_attributes.yaml @@ -0,0 +1,18 @@ +get: + summary: Get attribute data in bulk + operationId: getAttributes + description: This endpoint can retrieve attribute data in bulk from Lifecycle or you can search for attributes using parameters + tags: + - attributes + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/label.yaml" + - $ref: "../parameters/query/data_type.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/Attributes_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/ne_attributes_id.yaml b/static/api-specs/nerm/paths/ne_attributes_id.yaml new file mode 100644 index 000000000..ff2982ab6 --- /dev/null +++ b/static/api-specs/nerm/paths/ne_attributes_id.yaml @@ -0,0 +1,15 @@ +get: + summary: Find attribute data by id + operationId: getAttribute + description: Info for a specific attribute + tags: + - attributes + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/Attribute.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/profile.yaml b/static/api-specs/nerm/paths/profile.yaml new file mode 100644 index 000000000..069406080 --- /dev/null +++ b/static/api-specs/nerm/paths/profile.yaml @@ -0,0 +1,15 @@ +post: + summary: Create a profile + operationId: postProfile + description: Create a profile + tags: + - profiles + requestBody: + $ref: "../requestBodies/POST/Profile.yaml" + responses: + '200': + $ref: "../responses/Profile.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/profile_type.yaml b/static/api-specs/nerm/paths/profile_type.yaml new file mode 100644 index 000000000..cb3de27ed --- /dev/null +++ b/static/api-specs/nerm/paths/profile_type.yaml @@ -0,0 +1,15 @@ +post: + summary: Create a profile type + operationId: postProfileType + description: Create a profile type + tags: + - profile types + requestBody: + $ref: "../requestBodies/POST/ProfileType.yaml" + responses: + '200': + $ref: "../responses/ProfileType.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/profile_types.yaml b/static/api-specs/nerm/paths/profile_types.yaml new file mode 100644 index 000000000..b9ef12cec --- /dev/null +++ b/static/api-specs/nerm/paths/profile_types.yaml @@ -0,0 +1,18 @@ +get: + summary: Get profile types + operationId: getProfileTypes + description: Get option based attribute values + tags: + - profile types + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/name.yaml" + - $ref: "../parameters/query/archived.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/ProfileTypes_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" diff --git a/static/api-specs/nerm/paths/profile_types_id.yaml b/static/api-specs/nerm/paths/profile_types_id.yaml new file mode 100644 index 000000000..d7c2d7b62 --- /dev/null +++ b/static/api-specs/nerm/paths/profile_types_id.yaml @@ -0,0 +1,48 @@ +get: + summary: Find profile type by id + operationId: getProfileType + description: Find profile type by id + tags: + - profile types + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/ProfileType.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a profile type by id + operationId: patchProfileType + description: Update a profile type by id + tags: + - profile types + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/PATCH/ProfileType.yaml" + responses: + '200': + $ref: "../responses/ProfileType.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +# There is a foregin key constraint due to a profile profile_type_id dependency +delete: + summary: Delete profile type + operationId: deleteProfileType + description: Delete a profile type. All profiles of that type must first be destroyed before the profile type can be destroyed. + tags: + - profile types + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/info.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/profiles.yaml b/static/api-specs/nerm/paths/profiles.yaml new file mode 100644 index 000000000..e9e06c169 --- /dev/null +++ b/static/api-specs/nerm/paths/profiles.yaml @@ -0,0 +1,65 @@ +get: + summary: Get profiles + operationId: getProfiles + description: Get profiles + tags: + - profiles + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/exclude_attributes.yaml" + - $ref: "../parameters/query/name.yaml" + - $ref: "../parameters/query/profile_type_id.yaml" + - $ref: "../parameters/query/status.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/Profiles_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create multiple profiles + operationId: postProfiles + description: Create multiple profiles + tags: + - profiles + requestBody: + $ref: "../requestBodies/POST/Profiles.yaml" + responses: + '200': + $ref: "../responses/ProfilesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update multiple profiles + operationId: patchProfiles + description: Update multiple profiles + tags: + - profiles + requestBody: + $ref: "../requestBodies/PATCH/Profiles.yaml" + responses: + '200': + $ref: "../responses/ProfilesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +delete: + summary: Delete multiple profiles + operationId: deleteProfiles + description: Delete multiple profiles + tags: + - profiles + requestBody: + $ref: "../requestBodies/DELETE/Profiles.yaml" + responses: + '200': + $ref: "../responses/ProfilesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/profiles_id.yaml b/static/api-specs/nerm/paths/profiles_id.yaml new file mode 100644 index 000000000..3b76b4a4b --- /dev/null +++ b/static/api-specs/nerm/paths/profiles_id.yaml @@ -0,0 +1,32 @@ +get: + summary: Find profile by id + operationId: getProfile + description: Find profile by id + tags: + - profiles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/Profile.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a profile by id + operationId: patchProfile + description: Update a profile by id + tags: + - profiles + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/PATCH/Profile.yaml" + responses: + '200': + $ref: "../responses/Profile.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/profiles_id_avatar.yaml b/static/api-specs/nerm/paths/profiles_id_avatar.yaml new file mode 100644 index 000000000..0c209a0d0 --- /dev/null +++ b/static/api-specs/nerm/paths/profiles_id_avatar.yaml @@ -0,0 +1,32 @@ +get: + summary: Retrieves the URL of the profile avatar + operationId: getProfileAvatar + description: Retrieves the URL of the profile avatar + tags: + - profiles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/Url.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Uploads a new profile avatar + operationId: postProfileAvatar + description: Uploads a new profile avatar + tags: + - profiles + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/POST/File.yaml" + responses: + '200': + $ref: "../responses/Url.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/profiles_id_upload_attribute_id.yaml b/static/api-specs/nerm/paths/profiles_id_upload_attribute_id.yaml new file mode 100644 index 000000000..f61597b2a --- /dev/null +++ b/static/api-specs/nerm/paths/profiles_id_upload_attribute_id.yaml @@ -0,0 +1,34 @@ +get: + summary: Retrieves the URL of an attachment attribute value from a profile + operationId: getProfileUpload + description: Retrieves the URL of an attachment attribute value from a profile + tags: + - profiles + parameters: + - $ref: "../parameters/path/id.yaml" + - $ref: "../parameters/path/attribute_id.yaml" + responses: + '200': + $ref: "../responses/Url.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Uploads a new attachment attribute value to a profile + operationId: postProfileUpload + description: Uploads a new attachment attribute value to a profile + tags: + - profiles + parameters: + - $ref: "../parameters/path/id.yaml" + - $ref: "../parameters/path/attribute_id.yaml" + requestBody: + $ref: "../requestBodies/POST/File.yaml" + responses: + '200': + $ref: "../responses/Url.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/risk_levels.yaml b/static/api-specs/nerm/paths/risk_levels.yaml new file mode 100644 index 000000000..936af7101 --- /dev/null +++ b/static/api-specs/nerm/paths/risk_levels.yaml @@ -0,0 +1,17 @@ +get: + summary: Get risk level data in bulk + operationId: getRiskLevels + description: This endpoint can retrieve risk level data in bulk from Lifecycle + tags: + - risk levels + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/label.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/RiskLevels_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/risk_levels_id.yaml b/static/api-specs/nerm/paths/risk_levels_id.yaml new file mode 100644 index 000000000..6a6eae165 --- /dev/null +++ b/static/api-specs/nerm/paths/risk_levels_id.yaml @@ -0,0 +1,15 @@ +get: + summary: Find risk level data by id + operationId: getRiskLevel + description: Find risk level data by id + tags: + - risk levels + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/RiskLevel.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/risk_scores.yaml b/static/api-specs/nerm/paths/risk_scores.yaml new file mode 100644 index 000000000..4c5f01004 --- /dev/null +++ b/static/api-specs/nerm/paths/risk_scores.yaml @@ -0,0 +1,21 @@ +get: + summary: Get risk score data in bulk + operationId: getRiskScores + description: This endpoint can retrieve risk score data in bulk from Lifecycle + tags: + - risk scores + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/object_id.yaml" + - $ref: "../parameters/query/object_type.yaml" + - $ref: "../parameters/query/overall_risk_level_id.yaml" + - $ref: "../parameters/query/impact_risk_level_id.yaml" + - $ref: "../parameters/query/probability_risk_level_id.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/RiskScores.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/risk_scores_id.yaml b/static/api-specs/nerm/paths/risk_scores_id.yaml new file mode 100644 index 000000000..ff90d04f6 --- /dev/null +++ b/static/api-specs/nerm/paths/risk_scores_id.yaml @@ -0,0 +1,15 @@ +get: + summary: Find risk score data by id + operationId: getRiskScore + description: Find risk score data by id + tags: + - risk scores + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/RiskScore.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/role.yaml b/static/api-specs/nerm/paths/role.yaml new file mode 100644 index 000000000..c624e1280 --- /dev/null +++ b/static/api-specs/nerm/paths/role.yaml @@ -0,0 +1,15 @@ +post: + summary: Create a new role + operationId: postRole + description: Create a new role + tags: + - roles + requestBody: + $ref: "../requestBodies/POST/Role.yaml" + responses: + '200': + $ref: "../responses/Role.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/role_profile.yaml b/static/api-specs/nerm/paths/role_profile.yaml new file mode 100644 index 000000000..3cdf0aa4e --- /dev/null +++ b/static/api-specs/nerm/paths/role_profile.yaml @@ -0,0 +1,13 @@ +post: + summary: Create a role-profile contributor relationship + operationId: postRoleProfile + description: Create a role-profile contributor relationship + tags: + - role profiles + requestBody: + $ref: "../requestBodies/POST/RoleProfile.yaml" + responses: + '200': + $ref: "../responses/RoleProfile.yaml" + '405': + $ref: "../responses/InvalidInput.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/role_profile_id.yaml b/static/api-specs/nerm/paths/role_profile_id.yaml new file mode 100644 index 000000000..768951e2a --- /dev/null +++ b/static/api-specs/nerm/paths/role_profile_id.yaml @@ -0,0 +1,19 @@ +delete: + summary: Delete a role profile assignment + operationId: deleteRoleProfile + description: Delete a role profile assignment + tags: + - role profiles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + description: "Role profile was destroyed" + content: + application/json: + schema: + type: object + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/role_profiles.yaml b/static/api-specs/nerm/paths/role_profiles.yaml new file mode 100644 index 000000000..7212de626 --- /dev/null +++ b/static/api-specs/nerm/paths/role_profiles.yaml @@ -0,0 +1,48 @@ +get: + summary: Get role-profile contributor relationships + operationId: getRoleProfiles + description: Get role-profile contributor relationships + tags: + - role profiles + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/role_id.yaml" + - $ref: "../parameters/query/profile_id.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/RoleProfiles_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create multiple role-profile contributor relationships + operationId: postRoleProfiles + description: Create multiple role-profile contributor relationships + tags: + - role profiles + requestBody: + $ref: "../requestBodies/POST/RoleProfiles.yaml" + responses: + '200': + $ref: "../responses/RoleProfilesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update multiple role-profile contributor relationships + operationId: patchRoleProfiles + description: Update multiple role-profile contributor relationships + tags: + - role profiles + requestBody: + $ref: "../requestBodies/PATCH/RoleProfiles.yaml" + responses: + '200': + $ref: "../responses/RoleProfilesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/role_profiles_id.yaml b/static/api-specs/nerm/paths/role_profiles_id.yaml new file mode 100644 index 000000000..4e3be3248 --- /dev/null +++ b/static/api-specs/nerm/paths/role_profiles_id.yaml @@ -0,0 +1,32 @@ +get: + summary: Find role-profile contributor relationship by id + operationId: getRoleProfile + description: Find role-profile contributor relationship by id + tags: + - role profiles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/RoleProfile.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a role-profile contributor relationship by id + operationId: patchRoleProfile + description: Update a role-profile contributor relationship by id + tags: + - role profiles + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/PATCH/RoleProfile.yaml" + responses: + '200': + $ref: "../responses/RoleProfile.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/roles.yaml b/static/api-specs/nerm/paths/roles.yaml new file mode 100644 index 000000000..e7fa5f7c9 --- /dev/null +++ b/static/api-specs/nerm/paths/roles.yaml @@ -0,0 +1,46 @@ +get: + summary: Get roles + operationId: getRoles + description: This endpoint can retrieve roles from NERM. Optionally you can provide parameters to filter results. + tags: + - roles + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/Roles_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create multiple new roles + operationId: postRoles + description: Create multiple new users + tags: + - roles + requestBody: + $ref: "../requestBodies/POST/Roles.yaml" + responses: + '200': + $ref: "../responses/RolesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update multiple roles + operationId: patchRoles + description: Update multiple users + tags: + - roles + requestBody: + $ref: "../requestBodies/PATCH/Roles.yaml" + responses: + '200': + $ref: "../responses/RolesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/roles_id.yaml b/static/api-specs/nerm/paths/roles_id.yaml new file mode 100644 index 000000000..567954c5b --- /dev/null +++ b/static/api-specs/nerm/paths/roles_id.yaml @@ -0,0 +1,32 @@ +get: + summary: Find role by id + operationId: getRole + description: Info for a specific user role + tags: + - roles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/Role.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update an existing role + operationId: patchRole + description: Update an existing role + tags: + - roles + requestBody: + $ref: "../requestBodies/PATCH/Role.yaml" + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/Role.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user.yaml b/static/api-specs/nerm/paths/user.yaml new file mode 100644 index 000000000..ed1b22aef --- /dev/null +++ b/static/api-specs/nerm/paths/user.yaml @@ -0,0 +1,15 @@ +post: + summary: Create a new user + operationId: postUser + description: Create a new user + tags: + - users + requestBody: + $ref: "../requestBodies/POST/User.yaml" + responses: + '200': + $ref: "../responses/User.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_manager.yaml b/static/api-specs/nerm/paths/user_manager.yaml new file mode 100644 index 000000000..21c6e9daf --- /dev/null +++ b/static/api-specs/nerm/paths/user_manager.yaml @@ -0,0 +1,15 @@ +post: + summary: Create a new user-manager relationship + operationId: postUserManager + description: Create a new user-manager relationship + tags: + - user managers + requestBody: + $ref: "../requestBodies/POST/UserManager.yaml" + responses: + '200': + $ref: "../responses/UserManager.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_managers.yaml b/static/api-specs/nerm/paths/user_managers.yaml new file mode 100644 index 000000000..8b5a2831c --- /dev/null +++ b/static/api-specs/nerm/paths/user_managers.yaml @@ -0,0 +1,48 @@ +get: + summary: Get user-manager relationships + operationId: getUserManagers + description: This endpoint can retrieve user-manager relationships from Lifecycle or you can search for user-manager relationships using parameters + tags: + - user managers + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/user_id.yaml" + - $ref: "../parameters/query/manager_id.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/UserManagers_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create multiple new user-manager relationships + operationId: postUserManagers + description: Create multiple new user-manager relationships + tags: + - user managers + requestBody: + $ref: "../requestBodies/POST/UserManagers.yaml" + responses: + '200': + $ref: "../responses/UserManagersJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update multiple user-manager relationships + operationId: patchUserManagers + description: Update multiple user-manager relationships + tags: + - user managers + requestBody: + $ref: "../requestBodies/PATCH/UserManagers.yaml" + responses: + '200': + $ref: "../responses/UserManagersJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_managers_id.yaml b/static/api-specs/nerm/paths/user_managers_id.yaml new file mode 100644 index 000000000..4446a9615 --- /dev/null +++ b/static/api-specs/nerm/paths/user_managers_id.yaml @@ -0,0 +1,32 @@ +get: + summary: Find user-manager relationship by id + operationId: getUserManager + description: Info for a specific user-manager relationship + tags: + - user managers + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/UserManager.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a user-manager relationship by id + operationId: patchUserManager + description: Update a user-manager relationship by id + tags: + - user managers + requestBody: + $ref: "../requestBodies/PATCH/UserManager.yaml" + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/UserManager.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_profile.yaml b/static/api-specs/nerm/paths/user_profile.yaml new file mode 100644 index 000000000..22a5cb992 --- /dev/null +++ b/static/api-specs/nerm/paths/user_profile.yaml @@ -0,0 +1,13 @@ +post: + summary: Create a user-profile contributor relationship + operationId: postUserProfile + description: Create a user-profile contributor relationship + tags: + - user profiles + requestBody: + $ref: "../requestBodies/POST/UserProfile.yaml" + responses: + '200': + $ref: "../responses/UserProfile.yaml" + '405': + $ref: "../responses/InvalidInput.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_profile_id.yaml b/static/api-specs/nerm/paths/user_profile_id.yaml new file mode 100644 index 000000000..2b4495104 --- /dev/null +++ b/static/api-specs/nerm/paths/user_profile_id.yaml @@ -0,0 +1,19 @@ +delete: + summary: Delete a user profile assignment + operationId: deleteUserProfile + description: Delete a user profile assignment + tags: + - user profiles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + description: "User profile was destroyed" + content: + application/json: + schema: + type: object + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_profiles.yaml b/static/api-specs/nerm/paths/user_profiles.yaml new file mode 100644 index 000000000..dc74e9b42 --- /dev/null +++ b/static/api-specs/nerm/paths/user_profiles.yaml @@ -0,0 +1,50 @@ +get: + summary: Get user-profile contributor relationships + operationId: getUserProfiles + description: Get user-profile contributor relationships + tags: + - user profiles + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/user_id.yaml" + - $ref: "../parameters/query/ne_attribute_id.yaml" + - $ref: "../parameters/query/profile_id.yaml" + - $ref: "../parameters/query/relationship_type.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/UserProfiles_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create multiple user-profile contributor relationships + operationId: postUserProfiles + description: Create multiple user-profile contributor relationships + tags: + - user profiles + requestBody: + $ref: "../requestBodies/POST/UserProfiles.yaml" + responses: + '200': + $ref: "../responses/UserProfilesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update multiple user-profile contributor relationships + operationId: patchUserProfiles + description: Update multiple user-profile contributor relationships + tags: + - user profiles + requestBody: + $ref: "../requestBodies/PATCH/UserProfiles.yaml" + responses: + '200': + $ref: "../responses/UserProfilesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_profiles_id.yaml b/static/api-specs/nerm/paths/user_profiles_id.yaml new file mode 100644 index 000000000..f5299a0e8 --- /dev/null +++ b/static/api-specs/nerm/paths/user_profiles_id.yaml @@ -0,0 +1,32 @@ +get: + summary: Find user-profile contributor relationship by id + operationId: getUserProfile + description: Find user-profile contributor relationship by id + tags: + - user profiles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/UserProfile.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a user-profile contributor relationship by id + operationId: patchUserProfile + description: Update a user-profile contributor relationship by id + tags: + - user profiles + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/PATCH/UserProfile.yaml" + responses: + '200': + $ref: "../responses/UserProfile.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_role.yaml b/static/api-specs/nerm/paths/user_role.yaml new file mode 100644 index 000000000..033b3061f --- /dev/null +++ b/static/api-specs/nerm/paths/user_role.yaml @@ -0,0 +1,15 @@ +post: + summary: Assign a new role to a user + operationId: postUserRole + description: Assign a new role to a user + tags: + - user roles + requestBody: + $ref: "../requestBodies/POST/UserRole.yaml" + responses: + '200': + $ref: "../responses/UserRole.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_role_id.yaml b/static/api-specs/nerm/paths/user_role_id.yaml new file mode 100644 index 000000000..70a7e90f5 --- /dev/null +++ b/static/api-specs/nerm/paths/user_role_id.yaml @@ -0,0 +1,19 @@ +delete: + summary: Delete a user role assignment + operationId: deleteUserRole + description: Delete a user role assignment + tags: + - user roles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + description: "User role was destroyed" + content: + application/json: + schema: + type: object + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_roles.yaml b/static/api-specs/nerm/paths/user_roles.yaml new file mode 100644 index 000000000..55dffe5b2 --- /dev/null +++ b/static/api-specs/nerm/paths/user_roles.yaml @@ -0,0 +1,48 @@ +get: + summary: Get user role pairings + operationId: getUserRoles + description: This endpoint can retrieve user role pairings from Lifecycle or you can search for user role pairings using parameters + tags: + - user roles + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/user_id.yaml" + - $ref: "../parameters/query/role_id.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/UserRoles_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create multiple new user role pairings + operationId: postUserRoles + description: Create multiple new user role pairings + tags: + - user roles + requestBody: + $ref: "../requestBodies/POST/UserRoles.yaml" + responses: + '200': + $ref: "../responses/UserRolesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update multiple user role pairings + operationId: patchUserRoles + description: Update multiple user role pairings + tags: + - user roles + requestBody: + $ref: "../requestBodies/PATCH/UserRoles.yaml" + responses: + '200': + $ref: "../responses/UserRolesJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/user_roles_id.yaml b/static/api-specs/nerm/paths/user_roles_id.yaml new file mode 100644 index 000000000..7a74e7edb --- /dev/null +++ b/static/api-specs/nerm/paths/user_roles_id.yaml @@ -0,0 +1,32 @@ +get: + summary: Find user role pairing by id + operationId: getUserRole + description: Info for a specific user role pairing + tags: + - user roles + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/UserRole.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a user role pairing by id + operationId: patchUserRole + description: Update a user role pairing by id + tags: + - user roles + requestBody: + $ref: "../requestBodies/PATCH/UserRole.yaml" + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/UserRole.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/users.yaml b/static/api-specs/nerm/paths/users.yaml new file mode 100644 index 000000000..4f15bf620 --- /dev/null +++ b/static/api-specs/nerm/paths/users.yaml @@ -0,0 +1,51 @@ +get: + summary: Get users + operationId: getUsers + description: This endpoint can retrieve users from Lifecycle or you can search for users using parameters + tags: + - users + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/name.yaml" + - $ref: "../parameters/query/login.yaml" + - $ref: "../parameters/query/title.yaml" + - $ref: "../parameters/query/status.yaml" + - $ref: "../parameters/query/email.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/Users_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create multiple new users + operationId: postUsers + description: Create multiple new users + tags: + - users + requestBody: + $ref: "../requestBodies/POST/Users.yaml" + responses: + '200': + $ref: "../responses/UsersJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update multiple users + operationId: patchUsers + description: Update multiple users + tags: + - users + requestBody: + $ref: "../requestBodies/PATCH/Users.yaml" + responses: + '200': + $ref: "../responses/UsersJob.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/users_id.yaml b/static/api-specs/nerm/paths/users_id.yaml new file mode 100644 index 000000000..4c998a02d --- /dev/null +++ b/static/api-specs/nerm/paths/users_id.yaml @@ -0,0 +1,47 @@ +get: + summary: Find user by id + operationId: getUser + description: Info for a specific user + tags: + - users + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/User.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a user by id + operationId: patchUser + description: Update a user by id + tags: + - users + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/PATCH/User.yaml" + responses: + '200': + $ref: "../responses/User.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +delete: + summary: Delete a user + operationId: deleteUser + description: Delete a user + tags: + - users + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/info.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" diff --git a/static/api-specs/nerm/paths/users_id_avatar.yaml b/static/api-specs/nerm/paths/users_id_avatar.yaml new file mode 100644 index 000000000..bb603c3b5 --- /dev/null +++ b/static/api-specs/nerm/paths/users_id_avatar.yaml @@ -0,0 +1,32 @@ +get: + summary: Retrieves the URL of the user avatar + operationId: getUserAvatar + description: Retrieves the URL of the user avatar + tags: + - users + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/Url.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Uploads a new user avatar + operationId: postUserAvatar + description: Uploads a new user avatar + tags: + - users + parameters: + - $ref: "../parameters/path/id.yaml" + requestBody: + $ref: "../requestBodies/POST/File.yaml" + responses: + '200': + $ref: "../responses/Url.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/workflow_sessions.yaml b/static/api-specs/nerm/paths/workflow_sessions.yaml new file mode 100644 index 000000000..e53e34d78 --- /dev/null +++ b/static/api-specs/nerm/paths/workflow_sessions.yaml @@ -0,0 +1,38 @@ +get: + summary: Get workflow sessions + operationId: getWorkflowSessions + description: Get workflow sessions + tags: + - workflow sessions + parameters: + - $ref: "../parameters/query/query.yaml" + - $ref: "../parameters/query/profile_id.yaml" + - $ref: "../parameters/query/uid.yaml" + - $ref: "../parameters/query/workflow_id.yaml" + - $ref: "../parameters/query/requester_id.yaml" + - $ref: "../parameters/query/workflow_session_status.yaml" + - $ref: "../parameters/query/metadata.yaml" + responses: + '200': + $ref: "../responses/WorkflowSessions_Meta.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Create a workflow session + operationId: postWorkflowSession + description: Create a workflow session + tags: + - workflow sessions + parameters: + - $ref: "../parameters/query/run.yaml" + requestBody: + $ref: "../requestBodies/POST/WorkflowSession.yaml" + responses: + '200': + $ref: "../responses/WorkflowSession.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/workflow_sessions_id.yaml b/static/api-specs/nerm/paths/workflow_sessions_id.yaml new file mode 100644 index 000000000..65f8ea4be --- /dev/null +++ b/static/api-specs/nerm/paths/workflow_sessions_id.yaml @@ -0,0 +1,33 @@ +get: + summary: Find workflow session by id + operationId: getWorkflowSession + description: Find workflow session by id + tags: + - workflow sessions + parameters: + - $ref: "../parameters/path/id.yaml" + responses: + '200': + $ref: "../responses/WorkflowSession.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +patch: + summary: Update a workflow session by id + operationId: patchWorkflowSession + description: Update a workflow session by id + tags: + - workflow sessions + parameters: + - $ref: "../parameters/path/id.yaml" + - $ref: "../parameters/query/run.yaml" + requestBody: + $ref: "../requestBodies/PATCH/WorkflowSession.yaml" + responses: + '200': + $ref: "../responses/WorkflowSession.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/paths/workflow_sessions_id_upload_attribute_id.yaml b/static/api-specs/nerm/paths/workflow_sessions_id_upload_attribute_id.yaml new file mode 100644 index 000000000..e94c2ad1c --- /dev/null +++ b/static/api-specs/nerm/paths/workflow_sessions_id_upload_attribute_id.yaml @@ -0,0 +1,34 @@ +get: + summary: Retrieves the URL of an attachment attribute value from a workflow session + operationId: getWorkflowSessionUpload + description: Retrieves the URL of an attachment attribute value from a workflow session + tags: + - workflow sessions + parameters: + - $ref: "../parameters/path/id.yaml" + - $ref: "../parameters/path/attribute_id.yaml" + responses: + '200': + $ref: "../responses/Url.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" +post: + summary: Uploads a new attachment attribute value to a workflow session + operationId: postWorkflowSessionUpload + description: Uploads a new attachment attribute value to a workflow session + tags: + - workflow sessions + parameters: + - $ref: "../parameters/path/id.yaml" + - $ref: "../parameters/path/attribute_id.yaml" + requestBody: + $ref: "../requestBodies/POST/File.yaml" + responses: + '200': + $ref: "../responses/Url.yaml" + '400': + $ref: "../responses/400.yaml" + '500': + $ref: "../responses/500.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/DELETE/Profiles.yaml b/static/api-specs/nerm/requestBodies/DELETE/Profiles.yaml new file mode 100644 index 000000000..e1d0d310e --- /dev/null +++ b/static/api-specs/nerm/requestBodies/DELETE/Profiles.yaml @@ -0,0 +1,14 @@ +required: true +content: + application/json: + schema: + type: object + properties: + profiles: + type: array + items: + type: object + properties: + id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/AdvancedSearch.yaml b/static/api-specs/nerm/requestBodies/PATCH/AdvancedSearch.yaml new file mode 100644 index 000000000..9bad165b7 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/AdvancedSearch.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + advanced_search: + type: object + $ref: "../../schemas/PATCH/AdvancedSearch.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/AttributeOption.yaml b/static/api-specs/nerm/requestBodies/PATCH/AttributeOption.yaml new file mode 100644 index 000000000..be9673bc9 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/AttributeOption.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + ne_attribute_option: + type: object + $ref: "../../schemas/PATCH/AttributeOption.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/AttributeOptions.yaml b/static/api-specs/nerm/requestBodies/PATCH/AttributeOptions.yaml new file mode 100644 index 000000000..16d430d3f --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/AttributeOptions.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + ne_attribute_options: + type: array + items: + $ref: "../../schemas/PATCH/AttributeOptions.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/Profile.yaml b/static/api-specs/nerm/requestBodies/PATCH/Profile.yaml new file mode 100644 index 000000000..cf1ae5fd7 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/Profile.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + profile: + type: object + $ref: "../../schemas/PATCH/Profile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/ProfileType.yaml b/static/api-specs/nerm/requestBodies/PATCH/ProfileType.yaml new file mode 100644 index 000000000..4bc6e6a80 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/ProfileType.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + profile_type: + type: object + $ref: "../../schemas/PATCH/ProfileType.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/Profiles.yaml b/static/api-specs/nerm/requestBodies/PATCH/Profiles.yaml new file mode 100644 index 000000000..f989864e7 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/Profiles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + profiles: + type: array + items: + $ref: "../../schemas/PATCH/Profiles.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/Role.yaml b/static/api-specs/nerm/requestBodies/PATCH/Role.yaml new file mode 100644 index 000000000..147847751 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/Role.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + role: + type: object + $ref: "../../schemas/PATCH/Role.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/RoleProfile.yaml b/static/api-specs/nerm/requestBodies/PATCH/RoleProfile.yaml new file mode 100644 index 000000000..a36f729a1 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/RoleProfile.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + role_profile: + type: object + $ref: "../../schemas/PATCH/RoleProfile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/RoleProfiles.yaml b/static/api-specs/nerm/requestBodies/PATCH/RoleProfiles.yaml new file mode 100644 index 000000000..106e9dc42 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/RoleProfiles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + role_profiles: + type: array + items: + $ref: "../../schemas/PATCH/RoleProfiles.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/Roles.yaml b/static/api-specs/nerm/requestBodies/PATCH/Roles.yaml new file mode 100644 index 000000000..de96b506d --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/Roles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + $ref: "../../schemas/PATCH/Role.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/User.yaml b/static/api-specs/nerm/requestBodies/PATCH/User.yaml new file mode 100644 index 000000000..f690eb4f6 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/User.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user: + type: object + $ref: "../../schemas/PATCH/User.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/UserManager.yaml b/static/api-specs/nerm/requestBodies/PATCH/UserManager.yaml new file mode 100644 index 000000000..a304f8624 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/UserManager.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_manager: + type: object + $ref: "../../schemas/PATCH/UserManager.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/UserManagers.yaml b/static/api-specs/nerm/requestBodies/PATCH/UserManagers.yaml new file mode 100644 index 000000000..7fcd19620 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/UserManagers.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_managers: + type: array + items: + $ref: "../../schemas/PATCH/UserManagers.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/UserProfile.yaml b/static/api-specs/nerm/requestBodies/PATCH/UserProfile.yaml new file mode 100644 index 000000000..caa1ef0b5 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/UserProfile.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_profile: + type: object + $ref: "../../schemas/PATCH/UserProfile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/UserProfiles.yaml b/static/api-specs/nerm/requestBodies/PATCH/UserProfiles.yaml new file mode 100644 index 000000000..213b358d3 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/UserProfiles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_profiles: + type: array + items: + $ref: "../../schemas/PATCH/UserProfiles.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/UserRole.yaml b/static/api-specs/nerm/requestBodies/PATCH/UserRole.yaml new file mode 100644 index 000000000..0c5a2930a --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/UserRole.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_role: + type: object + $ref: "../../schemas/PATCH/UserRole.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/UserRoles.yaml b/static/api-specs/nerm/requestBodies/PATCH/UserRoles.yaml new file mode 100644 index 000000000..80f568380 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/UserRoles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_roles: + type: array + items: + $ref: "../../schemas/PATCH/UserRoles.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/Users.yaml b/static/api-specs/nerm/requestBodies/PATCH/Users.yaml new file mode 100644 index 000000000..931b1da3c --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/Users.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + users: + type: array + items: + $ref: "../../schemas/PATCH/User.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/PATCH/WorkflowSession.yaml b/static/api-specs/nerm/requestBodies/PATCH/WorkflowSession.yaml new file mode 100644 index 000000000..8385507e6 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/PATCH/WorkflowSession.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + workflow_session: + type: object + $ref: "../../schemas/PATCH/WorkflowSession.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/AdvancedSearch.yaml b/static/api-specs/nerm/requestBodies/POST/AdvancedSearch.yaml new file mode 100644 index 000000000..5971cfb03 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/AdvancedSearch.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + advanced_search: + type: object + $ref: "../../schemas/POST/AdvancedSearch.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/AttributeOption.yaml b/static/api-specs/nerm/requestBodies/POST/AttributeOption.yaml new file mode 100644 index 000000000..da0ce7218 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/AttributeOption.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + ne_attribute_option: + type: object + $ref: "../../schemas/POST/AttributeOption.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/AttributeOptions.yaml b/static/api-specs/nerm/requestBodies/POST/AttributeOptions.yaml new file mode 100644 index 000000000..56e17fbf4 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/AttributeOptions.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + ne_attribute_options: + type: array + items: + $ref: "../../schemas/POST/AttributeOption.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/File.yaml b/static/api-specs/nerm/requestBodies/POST/File.yaml new file mode 100644 index 000000000..2917e62e9 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/File.yaml @@ -0,0 +1,9 @@ +required: true +content: + multipart/form-data: + schema: + type: object + properties: + file: + type: string + format: binary \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/Profile.yaml b/static/api-specs/nerm/requestBodies/POST/Profile.yaml new file mode 100644 index 000000000..163d76fd4 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/Profile.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + profile: + type: object + $ref: "../../schemas/POST/Profile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/ProfileType.yaml b/static/api-specs/nerm/requestBodies/POST/ProfileType.yaml new file mode 100644 index 000000000..65473876a --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/ProfileType.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + profile_type: + type: object + $ref: "../../schemas/POST/ProfileType.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/Profiles.yaml b/static/api-specs/nerm/requestBodies/POST/Profiles.yaml new file mode 100644 index 000000000..a8da49029 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/Profiles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + profiles: + type: array + items: + $ref: "../../schemas/POST/Profile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/Role.yaml b/static/api-specs/nerm/requestBodies/POST/Role.yaml new file mode 100644 index 000000000..483b957f6 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/Role.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + role: + type: object + $ref: "../../schemas/POST/Role.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/RoleProfile.yaml b/static/api-specs/nerm/requestBodies/POST/RoleProfile.yaml new file mode 100644 index 000000000..37eb1b7a7 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/RoleProfile.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + role_profile: + type: object + $ref: "../../schemas/POST/RoleProfile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/RoleProfiles.yaml b/static/api-specs/nerm/requestBodies/POST/RoleProfiles.yaml new file mode 100644 index 000000000..b19d2e4ac --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/RoleProfiles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + role_profiles: + type: array + items: + $ref: "../../schemas/POST/RoleProfile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/Roles.yaml b/static/api-specs/nerm/requestBodies/POST/Roles.yaml new file mode 100644 index 000000000..c45a8a99c --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/Roles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + $ref: "../../schemas/POST/Role.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/User.yaml b/static/api-specs/nerm/requestBodies/POST/User.yaml new file mode 100644 index 000000000..500c3f540 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/User.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user: + type: object + $ref: "../../schemas/POST/User.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/UserManager.yaml b/static/api-specs/nerm/requestBodies/POST/UserManager.yaml new file mode 100644 index 000000000..bd75bf6bd --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/UserManager.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_manager: + type: object + $ref: "../../schemas/POST/UserManager.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/UserManagers.yaml b/static/api-specs/nerm/requestBodies/POST/UserManagers.yaml new file mode 100644 index 000000000..1759e3137 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/UserManagers.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_managers: + type: array + items: + $ref: "../../schemas/POST/UserManager.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/UserProfile.yaml b/static/api-specs/nerm/requestBodies/POST/UserProfile.yaml new file mode 100644 index 000000000..400a4955c --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/UserProfile.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_profile: + type: object + $ref: "../../schemas/POST/UserProfile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/UserProfiles.yaml b/static/api-specs/nerm/requestBodies/POST/UserProfiles.yaml new file mode 100644 index 000000000..fd37e3f55 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/UserProfiles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_profiles: + type: array + items: + $ref: "../../schemas/POST/UserProfile.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/UserRole.yaml b/static/api-specs/nerm/requestBodies/POST/UserRole.yaml new file mode 100644 index 000000000..04972afe9 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/UserRole.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_role: + type: object + $ref: "../../schemas/POST/UserRole.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/UserRoles.yaml b/static/api-specs/nerm/requestBodies/POST/UserRoles.yaml new file mode 100644 index 000000000..a7248951d --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/UserRoles.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + user_roles: + type: array + items: + $ref: "../../schemas/POST/UserRole.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/Users.yaml b/static/api-specs/nerm/requestBodies/POST/Users.yaml new file mode 100644 index 000000000..8117813d3 --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/Users.yaml @@ -0,0 +1,10 @@ +required: true +content: + application/json: + schema: + type: object + properties: + users: + type: array + items: + $ref: "../../schemas/POST/User.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/requestBodies/POST/WorkflowSession.yaml b/static/api-specs/nerm/requestBodies/POST/WorkflowSession.yaml new file mode 100644 index 000000000..fc088c64a --- /dev/null +++ b/static/api-specs/nerm/requestBodies/POST/WorkflowSession.yaml @@ -0,0 +1,9 @@ +required: true +content: + application/json: + schema: + type: object + properties: + workflow_session: + type: object + $ref: "../../schemas/POST/WorkflowSession.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/responses/400.yaml b/static/api-specs/nerm/responses/400.yaml new file mode 100644 index 000000000..ce2b72ac5 --- /dev/null +++ b/static/api-specs/nerm/responses/400.yaml @@ -0,0 +1,7 @@ +description: Bad Request - unable to complete. +content: + application/json: + schema: + oneOf: + - $ref: "./InvalidJson.yaml" + - $ref: "./ValidationErrors.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/responses/404.yaml b/static/api-specs/nerm/responses/404.yaml new file mode 100644 index 000000000..e69de29bb diff --git a/static/api-specs/nerm/responses/500.yaml b/static/api-specs/nerm/responses/500.yaml new file mode 100644 index 000000000..82a933633 --- /dev/null +++ b/static/api-specs/nerm/responses/500.yaml @@ -0,0 +1,9 @@ +description: Internal Server Error - returned on unhandled exceptions. +content: + application/json: + schema: + type: object + properties: + error: + description: A message describing the error + example: "Sorry something went wrong" \ No newline at end of file diff --git a/static/api-specs/nerm/responses/AdvancedSearch.yaml b/static/api-specs/nerm/responses/AdvancedSearch.yaml new file mode 100644 index 000000000..c119e8cba --- /dev/null +++ b/static/api-specs/nerm/responses/AdvancedSearch.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + advanced_search: + type: object + $ref: '../schemas/GET/AdvancedSearch.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/AdvancedSearches.yaml b/static/api-specs/nerm/responses/AdvancedSearches.yaml new file mode 100644 index 000000000..8699cf793 --- /dev/null +++ b/static/api-specs/nerm/responses/AdvancedSearches.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + advanced_search: + type: array + items: + $ref: '../schemas/GET/AdvancedSearch.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Attribute.yaml b/static/api-specs/nerm/responses/Attribute.yaml new file mode 100644 index 000000000..9d6e9f7fa --- /dev/null +++ b/static/api-specs/nerm/responses/Attribute.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + ne_attribute: + type: object + $ref: '../schemas/GET/Attribute.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/AttributeOption.yaml b/static/api-specs/nerm/responses/AttributeOption.yaml new file mode 100644 index 000000000..736f456c7 --- /dev/null +++ b/static/api-specs/nerm/responses/AttributeOption.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + ne_attribute_option: + type: object + $ref: '../schemas/GET/AttributeOption.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/AttributeOptions.yaml b/static/api-specs/nerm/responses/AttributeOptions.yaml new file mode 100644 index 000000000..0ebb6550a --- /dev/null +++ b/static/api-specs/nerm/responses/AttributeOptions.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + ne_attribute_options: + type: array + items: + $ref: '../schemas/GET/AttributeOption.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/AttributeOptionsJob.yaml b/static/api-specs/nerm/responses/AttributeOptionsJob.yaml new file mode 100644 index 000000000..0b805eb14 --- /dev/null +++ b/static/api-specs/nerm/responses/AttributeOptionsJob.yaml @@ -0,0 +1,7 @@ +description: Expected response to a valid request +content: + application/json: + schema: + oneOf: + - $ref: '../schemas/GET/AttributeOptions.yaml' + - $ref: '../schemas/Job.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/AttributeOptions_Meta.yaml b/static/api-specs/nerm/responses/AttributeOptions_Meta.yaml new file mode 100644 index 000000000..15fe958f2 --- /dev/null +++ b/static/api-specs/nerm/responses/AttributeOptions_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + ne_attribute_options: + type: array + items: + $ref: '../schemas/GET/AttributeOption.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Attributes.yaml b/static/api-specs/nerm/responses/Attributes.yaml new file mode 100644 index 000000000..ca4664e2f --- /dev/null +++ b/static/api-specs/nerm/responses/Attributes.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + ne_attributes: + type: array + items: + $ref: '../schemas/GET/Attribute.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Attributes_Meta.yaml b/static/api-specs/nerm/responses/Attributes_Meta.yaml new file mode 100644 index 000000000..6539afb44 --- /dev/null +++ b/static/api-specs/nerm/responses/Attributes_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + ne_attributes: + type: array + items: + $ref: '../schemas/GET/Attribute.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/DeleteConfirmation.yaml b/static/api-specs/nerm/responses/DeleteConfirmation.yaml new file mode 100644 index 000000000..e4e29e3de --- /dev/null +++ b/static/api-specs/nerm/responses/DeleteConfirmation.yaml @@ -0,0 +1,9 @@ +description: Confirmation of a deleted object +content: + application/json: + schema: + type: object + properties: + info: + type: string + default: "The option '{Option Value}' has been deleted" diff --git a/static/api-specs/nerm/responses/IdentityProofingResults.yaml b/static/api-specs/nerm/responses/IdentityProofingResults.yaml new file mode 100644 index 000000000..807d6e0bb --- /dev/null +++ b/static/api-specs/nerm/responses/IdentityProofingResults.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + identity_proofing_results: + type: array + items: + $ref: '../schemas/GET/IdentityProofingResult.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Info.yaml b/static/api-specs/nerm/responses/Info.yaml new file mode 100644 index 000000000..183e2bb63 --- /dev/null +++ b/static/api-specs/nerm/responses/Info.yaml @@ -0,0 +1,9 @@ +description: "Info about the operation" +content: + application/json: + schema: + type: object + properties: + info: + description: A message confirming the operation + example: object deleted \ No newline at end of file diff --git a/static/api-specs/nerm/responses/InvalidInput.yaml b/static/api-specs/nerm/responses/InvalidInput.yaml new file mode 100644 index 000000000..a3a597ae6 --- /dev/null +++ b/static/api-specs/nerm/responses/InvalidInput.yaml @@ -0,0 +1 @@ +description: Invalid input \ No newline at end of file diff --git a/static/api-specs/nerm/responses/InvalidJson.yaml b/static/api-specs/nerm/responses/InvalidJson.yaml new file mode 100644 index 000000000..8198454da --- /dev/null +++ b/static/api-specs/nerm/responses/InvalidJson.yaml @@ -0,0 +1,4 @@ +type: object +properties: + error: + example: "Invalid JSON syntax. Please check your syntax and try again." \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Job.yaml b/static/api-specs/nerm/responses/Job.yaml new file mode 100644 index 000000000..88fbfa731 --- /dev/null +++ b/static/api-specs/nerm/responses/Job.yaml @@ -0,0 +1,32 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + uid: + type: string + format: uuid + status: + type: string + # enum: ["complete", "queued"] + example: "complete" + job_type: + type: string + example: import + job_data: + type: array + items: + type: object + properties: + user_id: + type: string + format: uuid + manager_id: + type: string + format: uuid + errors: + type: array + items: + type: string + example: Validation error for record in job \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Profile.yaml b/static/api-specs/nerm/responses/Profile.yaml new file mode 100644 index 000000000..23293c56e --- /dev/null +++ b/static/api-specs/nerm/responses/Profile.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + profile: + type: object + $ref: '../schemas/GET/Profile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/ProfileType.yaml b/static/api-specs/nerm/responses/ProfileType.yaml new file mode 100644 index 000000000..cf5e0e1e1 --- /dev/null +++ b/static/api-specs/nerm/responses/ProfileType.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + profile_type: + type: object + $ref: '../schemas/GET/ProfileType.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/ProfileTypes.yaml b/static/api-specs/nerm/responses/ProfileTypes.yaml new file mode 100644 index 000000000..ec9926b39 --- /dev/null +++ b/static/api-specs/nerm/responses/ProfileTypes.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + profile_types: + type: array + items: + $ref: '../schemas/GET/ProfileType.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/ProfileTypes_Meta.yaml b/static/api-specs/nerm/responses/ProfileTypes_Meta.yaml new file mode 100644 index 000000000..dc1a1f29a --- /dev/null +++ b/static/api-specs/nerm/responses/ProfileTypes_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + profile_types: + type: array + items: + $ref: '../schemas/GET/ProfileType.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Profiles.yaml b/static/api-specs/nerm/responses/Profiles.yaml new file mode 100644 index 000000000..bd7b9f840 --- /dev/null +++ b/static/api-specs/nerm/responses/Profiles.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + profiles: + type: array + items: + $ref: '../schemas/GET/Profile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/ProfilesJob.yaml b/static/api-specs/nerm/responses/ProfilesJob.yaml new file mode 100644 index 000000000..0360931a2 --- /dev/null +++ b/static/api-specs/nerm/responses/ProfilesJob.yaml @@ -0,0 +1,7 @@ +description: Expected response to a valid request +content: + application/json: + schema: + oneOf: + - $ref: '../schemas/GET/Profiles.yaml' + - $ref: '../schemas/Job.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Profiles_Meta.yaml b/static/api-specs/nerm/responses/Profiles_Meta.yaml new file mode 100644 index 000000000..799402f27 --- /dev/null +++ b/static/api-specs/nerm/responses/Profiles_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + profiles: + type: array + items: + $ref: '../schemas/GET/Profile.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RiskLevel.yaml b/static/api-specs/nerm/responses/RiskLevel.yaml new file mode 100644 index 000000000..0dcbce538 --- /dev/null +++ b/static/api-specs/nerm/responses/RiskLevel.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + risk_level: + type: object + $ref: '../schemas/GET/RiskLevel.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RiskLevels_Meta.yaml b/static/api-specs/nerm/responses/RiskLevels_Meta.yaml new file mode 100644 index 000000000..4e91089b1 --- /dev/null +++ b/static/api-specs/nerm/responses/RiskLevels_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + risk_levels: + type: array + items: + $ref: '../schemas/GET/RiskLevel.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RiskScore.yaml b/static/api-specs/nerm/responses/RiskScore.yaml new file mode 100644 index 000000000..81898582c --- /dev/null +++ b/static/api-specs/nerm/responses/RiskScore.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + risk_score: + type: object + $ref: '../schemas/GET/RiskScore.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RiskScores.yaml b/static/api-specs/nerm/responses/RiskScores.yaml new file mode 100644 index 000000000..9b422a1e1 --- /dev/null +++ b/static/api-specs/nerm/responses/RiskScores.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + risk_scores: + type: array + items: + $ref: '../schemas/GET/RiskScore.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Role.yaml b/static/api-specs/nerm/responses/Role.yaml new file mode 100644 index 000000000..e60086103 --- /dev/null +++ b/static/api-specs/nerm/responses/Role.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + role: + type: object + $ref: '../schemas/GET/Role.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RoleProfile.yaml b/static/api-specs/nerm/responses/RoleProfile.yaml new file mode 100644 index 000000000..791126d08 --- /dev/null +++ b/static/api-specs/nerm/responses/RoleProfile.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + role_profile: + type: object + $ref: '../schemas/GET/RoleProfile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RoleProfiles.yaml b/static/api-specs/nerm/responses/RoleProfiles.yaml new file mode 100644 index 000000000..15e2487b7 --- /dev/null +++ b/static/api-specs/nerm/responses/RoleProfiles.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + role_profiles: + type: array + items: + $ref: '../schemas/GET/RoleProfile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RoleProfilesJob.yaml b/static/api-specs/nerm/responses/RoleProfilesJob.yaml new file mode 100644 index 000000000..d59230dfa --- /dev/null +++ b/static/api-specs/nerm/responses/RoleProfilesJob.yaml @@ -0,0 +1,7 @@ +description: Expected response to a valid request +content: + application/json: + schema: + oneOf: + - $ref: '../schemas/GET/RoleProfiles.yaml' + - $ref: '../schemas/Job.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RoleProfiles_Meta.yaml b/static/api-specs/nerm/responses/RoleProfiles_Meta.yaml new file mode 100644 index 000000000..b534baa8f --- /dev/null +++ b/static/api-specs/nerm/responses/RoleProfiles_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + role_profiles: + type: array + items: + $ref: '../schemas/GET/RoleProfile.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/RolesJob.yaml b/static/api-specs/nerm/responses/RolesJob.yaml new file mode 100644 index 000000000..13c17febe --- /dev/null +++ b/static/api-specs/nerm/responses/RolesJob.yaml @@ -0,0 +1,7 @@ +description: Expected response to a valid request +content: + application/json: + schema: + oneOf: + - $ref: '../schemas/GET/Roles.yaml' + - $ref: '../schemas/Job.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Roles_Meta.yaml b/static/api-specs/nerm/responses/Roles_Meta.yaml new file mode 100644 index 000000000..15ebcadf1 --- /dev/null +++ b/static/api-specs/nerm/responses/Roles_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + $ref: '../schemas/GET/Role.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Url.yaml b/static/api-specs/nerm/responses/Url.yaml new file mode 100644 index 000000000..327c8c5ee --- /dev/null +++ b/static/api-specs/nerm/responses/Url.yaml @@ -0,0 +1,5 @@ +description: Expected response to a valid request +content: + application/json: + schema: + $ref: "../schemas/Url.yaml" \ No newline at end of file diff --git a/static/api-specs/nerm/responses/User.yaml b/static/api-specs/nerm/responses/User.yaml new file mode 100644 index 000000000..de40badca --- /dev/null +++ b/static/api-specs/nerm/responses/User.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user: + type: object + $ref: '../schemas/GET/User.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserManager.yaml b/static/api-specs/nerm/responses/UserManager.yaml new file mode 100644 index 000000000..d21c355b6 --- /dev/null +++ b/static/api-specs/nerm/responses/UserManager.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user_manager: + type: object + $ref: '../schemas/GET/UserManager.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserManagersJob.yaml b/static/api-specs/nerm/responses/UserManagersJob.yaml new file mode 100644 index 000000000..48f7552fa --- /dev/null +++ b/static/api-specs/nerm/responses/UserManagersJob.yaml @@ -0,0 +1,7 @@ +description: Expected response to a valid request +content: + application/json: + schema: + oneOf: + - $ref: '../schemas/Job.yaml' + - $ref: '../schemas/GET/UserManagers.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserManagers_Meta.yaml b/static/api-specs/nerm/responses/UserManagers_Meta.yaml new file mode 100644 index 000000000..85bc9d1f4 --- /dev/null +++ b/static/api-specs/nerm/responses/UserManagers_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user_managers: + type: array + items: + $ref: '../schemas/GET/UserManager.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserProfile.yaml b/static/api-specs/nerm/responses/UserProfile.yaml new file mode 100644 index 000000000..3d243f5a5 --- /dev/null +++ b/static/api-specs/nerm/responses/UserProfile.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user_profile: + type: object + $ref: '../schemas/GET/UserProfile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserProfiles.yaml b/static/api-specs/nerm/responses/UserProfiles.yaml new file mode 100644 index 000000000..2cf068dd3 --- /dev/null +++ b/static/api-specs/nerm/responses/UserProfiles.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user_profiles: + type: array + items: + $ref: '../schemas/GET/UserProfile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserProfilesJob.yaml b/static/api-specs/nerm/responses/UserProfilesJob.yaml new file mode 100644 index 000000000..ebe071efe --- /dev/null +++ b/static/api-specs/nerm/responses/UserProfilesJob.yaml @@ -0,0 +1,7 @@ +description: Expected response to a valid request +content: + application/json: + schema: + oneOf: + - $ref: '../schemas/GET/UserProfiles.yaml' + - $ref: '../schemas/Job.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserProfiles_Meta.yaml b/static/api-specs/nerm/responses/UserProfiles_Meta.yaml new file mode 100644 index 000000000..76efc87b8 --- /dev/null +++ b/static/api-specs/nerm/responses/UserProfiles_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user_profiles: + type: array + items: + $ref: '../schemas/GET/UserProfile.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserRole.yaml b/static/api-specs/nerm/responses/UserRole.yaml new file mode 100644 index 000000000..0b73dbd36 --- /dev/null +++ b/static/api-specs/nerm/responses/UserRole.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user_role: + type: object + $ref: '../schemas/GET/UserRole.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserRoles.yaml b/static/api-specs/nerm/responses/UserRoles.yaml new file mode 100644 index 000000000..62c09b3a2 --- /dev/null +++ b/static/api-specs/nerm/responses/UserRoles.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user_roles: + type: array + items: + $ref: '../schemas/GET/UserRole.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserRolesJob.yaml b/static/api-specs/nerm/responses/UserRolesJob.yaml new file mode 100644 index 000000000..e3f732b09 --- /dev/null +++ b/static/api-specs/nerm/responses/UserRolesJob.yaml @@ -0,0 +1,7 @@ +description: Expected response to a valid request +content: + application/json: + schema: + oneOf: + - $ref: '../schemas/GET/UserRoles.yaml' + - $ref: '../schemas/Job.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UserRoles_Meta.yaml b/static/api-specs/nerm/responses/UserRoles_Meta.yaml new file mode 100644 index 000000000..8b8bce14d --- /dev/null +++ b/static/api-specs/nerm/responses/UserRoles_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + user_roles: + type: array + items: + $ref: '../schemas/GET/UserRole.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/UsersJob.yaml b/static/api-specs/nerm/responses/UsersJob.yaml new file mode 100644 index 000000000..18d7e2683 --- /dev/null +++ b/static/api-specs/nerm/responses/UsersJob.yaml @@ -0,0 +1,7 @@ +description: Expected response to a valid request +content: + application/json: + schema: + oneOf: + - $ref: '../schemas/GET/Users.yaml' + - $ref: '../schemas/Job.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/Users_Meta.yaml b/static/api-specs/nerm/responses/Users_Meta.yaml new file mode 100644 index 000000000..37a691384 --- /dev/null +++ b/static/api-specs/nerm/responses/Users_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + users: + type: array + items: + $ref: '../schemas/GET/User.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/ValidationErrors.yaml b/static/api-specs/nerm/responses/ValidationErrors.yaml new file mode 100644 index 000000000..719b4f145 --- /dev/null +++ b/static/api-specs/nerm/responses/ValidationErrors.yaml @@ -0,0 +1,7 @@ +type: object +properties: + error: + example: "The failed to create/update" + errors: + example: + attribute: "can't be blank" \ No newline at end of file diff --git a/static/api-specs/nerm/responses/WorkflowSession.yaml b/static/api-specs/nerm/responses/WorkflowSession.yaml new file mode 100644 index 000000000..bbe4d907d --- /dev/null +++ b/static/api-specs/nerm/responses/WorkflowSession.yaml @@ -0,0 +1,9 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + workflow_session: + type: object + $ref: '../schemas/GET/WorkflowSession.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/WorkflowSessions.yaml b/static/api-specs/nerm/responses/WorkflowSessions.yaml new file mode 100644 index 000000000..1e5386201 --- /dev/null +++ b/static/api-specs/nerm/responses/WorkflowSessions.yaml @@ -0,0 +1,10 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + workflow_sessions: + type: array + items: + $ref: '../schemas/GET/WorkflowSession.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/WorkflowSessions_Meta.yaml b/static/api-specs/nerm/responses/WorkflowSessions_Meta.yaml new file mode 100644 index 000000000..69bece6ac --- /dev/null +++ b/static/api-specs/nerm/responses/WorkflowSessions_Meta.yaml @@ -0,0 +1,12 @@ +description: Expected response to a valid request +content: + application/json: + schema: + type: object + properties: + workflow_sessions: + type: array + items: + $ref: '../schemas/GET/WorkflowSession.yaml' + _metadata: + $ref: '../schemas/Metadata.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/responses/_index.yaml b/static/api-specs/nerm/responses/_index.yaml new file mode 100644 index 000000000..0fae492d4 --- /dev/null +++ b/static/api-specs/nerm/responses/_index.yaml @@ -0,0 +1,63 @@ +# 200 +User: + $ref: './User.yaml' +Users: + $ref: './Users.yaml' +UserManager: + $ref: './UserManager.yaml' +UserManagers: + $ref: './UserManagers.yaml' +UserRole: + $ref: './UserRole.yaml' +UserRoles: + $ref: './UserRoles.yaml' +Attribute: + $ref: './Attribute.yaml' +Attributes: + $ref: './Attributes.yaml' +AttributeOption: + $ref: './AttributeOption.yaml' +AttributeOptions: + $ref: './AttributeOptions.yaml' +ProfileType: + $ref: './ProfileType.yaml' +ProfileTypes: + $ref: './ProfileTypes.yaml' +Profile: + $ref: './Profile.yaml' +Profiles: + $ref: './Profiles.yaml' +RiskScore: + $ref: './RiskScore.yaml' +RiskScores: + $ref: './RiskScores.yaml' +RiskLevel: + $ref: './RiskLevel.yaml' +RiskLevels: + $ref: './RiskLevels.yaml' +UserProfile: + $ref: './UserProfile.yaml' +UserProfiles: + $ref: './UserProfiles.yaml' +RoleProfile: + $ref: './RoleProfile.yaml' +RoleProfiles: + $ref: './RoleProfiles.yaml' +WorkflowSession: + $ref: './WorkflowSession.yaml' +WorkflowSessions: + $ref: './WorkflowSessions.yaml' +IdentityProofingResults: + $ref: './IdentityProofingResults.yaml' +AdvancedSearch: + $ref: './AdvancedSearch.yaml' +AdvancedSearches: + $ref: './AdvancedSearches.yaml' +# Special +Url: + $ref: './Url.yaml' +DeleteConfirmation: + $ref: './DeleteConfirmation.yaml' +# 405 +InvalidInput: + $ref: './InvalidInput.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/AdvancedSearch.yaml b/static/api-specs/nerm/schemas/GET/AdvancedSearch.yaml new file mode 100644 index 000000000..488d7c674 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/AdvancedSearch.yaml @@ -0,0 +1,24 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + label: + type: string + condition_rules_attributes: + type: array + items: + anyOf: + - $ref: "./ProfileTypeRule.yaml" + - $ref: "./ProfileStatusRule.yaml" + - $ref: "./ProfileAttributeRuleString.yaml" + - $ref: "./ProfileAttributeRuleDate.yaml" + - $ref: "./ProfileAttributeRuleId.yaml" + - $ref: "./RiskRule.yaml" + diff --git a/static/api-specs/nerm/schemas/GET/Attribute.yaml b/static/api-specs/nerm/schemas/GET/Attribute.yaml new file mode 100644 index 000000000..f87dd0c7e --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/Attribute.yaml @@ -0,0 +1,70 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + label: + type: string + description: + type: string + tool_tip: + type: string + crypt: + type: boolean + archived: + type: boolean + archived_on: + type: string + format: date-time + readOnly: true + created_at: + type: string + format: date-time + readOnly: true + updated_at: + type: string + format: date-time + readOnly: true + date_format: + type: string + enum: [mm/dd/yyyy, mm-dd-yyyy, dd/mm/yyyy, dd-mm-yyyy, yyyy/mm/dd, yyyy-mm-dd] + selectable_status: + type: string + risk_score_setting: + type: string + risk_type: + type: string + ownership_driver: + type: boolean + allow_multiple_selections: + type: boolean + filtered_by_ne_attribute: + type: boolean + filtering_ne_attribute_id: + type: string + format: uuid + ne_attribute_filter_id: + type: string + format: uuid + reverse_association_attribute_id: + type: string + format: uuid + profile_type_id: + type: string + format: uuid + legacy_id: + type: integer + tmp_created_at: + type: string + format: date-time + readOnly: true + tmp_updated_at: + type: string + format: date-time + readOnly: true \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/AttributeOption.yaml b/static/api-specs/nerm/schemas/GET/AttributeOption.yaml new file mode 100644 index 000000000..a9e909d0e --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/AttributeOption.yaml @@ -0,0 +1,16 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + ne_attribute_id: + type: string + format: uuid + option: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/AttributeOptions.yaml b/static/api-specs/nerm/schemas/GET/AttributeOptions.yaml new file mode 100644 index 000000000..f38fb3f2b --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/AttributeOptions.yaml @@ -0,0 +1,6 @@ +type: object +properties: + ne_attribute_options: + type: array + items: + $ref: '../GET/AttributeOption.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/IdentityProofingResult.yaml b/static/api-specs/nerm/schemas/GET/IdentityProofingResult.yaml new file mode 100644 index 000000000..dca88f133 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/IdentityProofingResult.yaml @@ -0,0 +1,33 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + identity_proofing_action_id: + type: string + format: uuid + workflow_session_id: + type: string + format: uuid + profile_id: + type: string + format: uuid + proofing_workflow: + type: string + format: uuid + result: + type: string + enum: [pending, pass, fail] + proofing_attributes: + type: object + additionalProperties: + type: string + example: + result: approve + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/Profile.yaml b/static/api-specs/nerm/schemas/GET/Profile.yaml new file mode 100644 index 000000000..98cb3355b --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/Profile.yaml @@ -0,0 +1,39 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + name: + type: string + profile_type_id: + type: string + format: uuid + status: + type: string + enum: [Active, Inactive, On Leave, Terminated] + id_proofing_status: + type: string + enum: [pending, pass, fail] + created_at: + type: string + format: date-time + updated_at: + type: string + format: date-time + attributes: + type: object + additionalProperties: + type: string + example: + text_attribute_uid: static text + date_attribute_uid: 01/15/2020 + profile_select_attribute_uid: Profile Name + multiple_profile_select_attribute_uid: Profile Name,Second Profile Name,Third Profile Name + contributor_select_attribute_uid: User Name + multiple_contributor_select_attribute_uid: User Name,Second User Name,Third User Name \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleDate.yaml b/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleDate.yaml new file mode 100644 index 000000000..60f510a7a --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleDate.yaml @@ -0,0 +1,45 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [DateAttribute] + condition_object_id: + type: string + format: uuid + secondary_attribute_type: + type: string + enum: [DateAttribute] + secondary_attribute_id: + type: string + format: uuid + comparison_operator: + type: string + enum: ['>', '<', 'after', 'before'] + value: + type: string + required: true + enum: ['Today', ''] + secondary_value: + type: string + enum: ['after', 'before'] + tertiary_value: + type: string + example: 30 + + + + diff --git a/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleId.yaml b/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleId.yaml new file mode 100644 index 000000000..f5044e06e --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleId.yaml @@ -0,0 +1,31 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [ProfileSelectAttribute, ProfileSearchAttribute, OwnerSelectAttribute, OwnerSearchAttribute, ContributorSelectAttribute, ContributorSearchAttribute] + condition_object_id: + type: string + required: true + format: uuid + comparison_operator: + type: string + required: true + enum: ['include?', 'exclude?'] + value: + type: string + required: true + format: uuid diff --git a/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleString.yaml b/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleString.yaml new file mode 100644 index 000000000..27d2d63f2 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/ProfileAttributeRuleString.yaml @@ -0,0 +1,31 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [TextFieldAttribute, TextAreaAttribute] + condition_object_id: + type: string + required: true + format: uuid + comparison_operator: + type: string + required: true + enum: ['==', '!=', '>', '<', 'start_with?', 'end_with?', 'include?'] + value: + type: string + required: true + example: Some value diff --git a/static/api-specs/nerm/schemas/GET/ProfileStatusRule.yaml b/static/api-specs/nerm/schemas/GET/ProfileStatusRule.yaml new file mode 100644 index 000000000..d0ed66400 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/ProfileStatusRule.yaml @@ -0,0 +1,22 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [ProfileStatusRule] + comparison_operator: + type: string + enum: ['==', '!='] + value: + type: string + enum: [Active, Inactive, Leave of absence, Terminated] + \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/ProfileType.yaml b/static/api-specs/nerm/schemas/GET/ProfileType.yaml new file mode 100644 index 000000000..1b88fc163 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/ProfileType.yaml @@ -0,0 +1,61 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + name: + type: string + bypass_dup_protection: + type: boolean + archived: + type: boolean + permitted_role_ids: + type: array + items: + type: string + format: uuid + profile_type_dup_attributes: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + uid: + type: string + minLength: 32 + maxLength: 32 + profile_type_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + profile_type_namings: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + uid: + type: string + minLength: 32 + maxLength: 32 + profile_type_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + order: + type: integer + minimum: 0 diff --git a/static/api-specs/nerm/schemas/GET/ProfileTypeRule.yaml b/static/api-specs/nerm/schemas/GET/ProfileTypeRule.yaml new file mode 100644 index 000000000..d6174cb04 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/ProfileTypeRule.yaml @@ -0,0 +1,22 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [ProfileTypeRule] + comparison_operator: + type: string + enum: ['==', '!='] + value: + type: string + format: uuid + \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/Profiles.yaml b/static/api-specs/nerm/schemas/GET/Profiles.yaml new file mode 100644 index 000000000..396514f83 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/Profiles.yaml @@ -0,0 +1,6 @@ +type: object +properties: + profiles: + type: array + items: + $ref: '../GET/Profile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/RiskLevel.yaml b/static/api-specs/nerm/schemas/GET/RiskLevel.yaml new file mode 100644 index 000000000..1b3736a87 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/RiskLevel.yaml @@ -0,0 +1,19 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + label: + type: string + points: + type: number + multipleOf: 0.01 + order: + type: integer + minimum: 0 \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/RiskRule.yaml b/static/api-specs/nerm/schemas/GET/RiskRule.yaml new file mode 100644 index 000000000..177fc913a --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/RiskRule.yaml @@ -0,0 +1,27 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [RiskRule] + comparison_operator: + type: string + enum: ['==', '>', '<'] + value: + type: string + summary: id of the Risk Level being compared against + required: true + format: uuid + secondary_value: + type: string + required: true + enum: [OverallRisk] diff --git a/static/api-specs/nerm/schemas/GET/RiskScore.yaml b/static/api-specs/nerm/schemas/GET/RiskScore.yaml new file mode 100644 index 000000000..929d3817a --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/RiskScore.yaml @@ -0,0 +1,35 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + object_id: + type: string + format: uuid + object_type: + type: string + enum: [Profile, WorkflowSession] + overall_score: + type: number + multipleOf: 0.01 + overall_risk_level_id: + type: string + format: uuid + impact_score: + type: number + multipleOf: 0.01 + impact_risk_level_id: + type: string + format: uuid + probability_score: + type: number + multipleOf: 0.01 + probability_risk_level_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/Role.yaml b/static/api-specs/nerm/schemas/GET/Role.yaml new file mode 100644 index 000000000..359eca337 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/Role.yaml @@ -0,0 +1,20 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + example: "sponsors_role" + name: + type: string + example: "Sponsors" + groups: + type: array + items: + type: string + example: "ad_group_name" \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/RoleProfile.yaml b/static/api-specs/nerm/schemas/GET/RoleProfile.yaml new file mode 100644 index 000000000..e20debdfe --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/RoleProfile.yaml @@ -0,0 +1,17 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + role_id: + type: string + format: uuid + profile_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/RoleProfiles.yaml b/static/api-specs/nerm/schemas/GET/RoleProfiles.yaml new file mode 100644 index 000000000..0577d729c --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/RoleProfiles.yaml @@ -0,0 +1,6 @@ +type: object +properties: + role_profiles: + type: array + items: + $ref: '../GET/RoleProfile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/Roles.yaml b/static/api-specs/nerm/schemas/GET/Roles.yaml new file mode 100644 index 000000000..d9205af72 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/Roles.yaml @@ -0,0 +1,6 @@ +type: object +properties: + roles: + type: array + items: + $ref: '../GET/Role.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/User.yaml b/static/api-specs/nerm/schemas/GET/User.yaml new file mode 100644 index 000000000..e3941aebe --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/User.yaml @@ -0,0 +1,37 @@ +type: object +properties: + id: + type: string + format: uuid + readonly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readonly: true + name: + type: string + email: + type: string + format: email + type: + type: string + enum: [NeprofileUser, NeaccessUser] + default: NeprofileUser + title: + type: string + status: + type: string + enum: [Active, Disabled] + login: + type: string + last_login: + type: string + format: date-time + readOnly: true + cookies_accepted_at: + type: string + format: date-time + readOnly: true + preferred_language: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/UserManager.yaml b/static/api-specs/nerm/schemas/GET/UserManager.yaml new file mode 100644 index 000000000..29adf8233 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/UserManager.yaml @@ -0,0 +1,17 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + user_id: + type: string + format: uuid + manager_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/UserManagers.yaml b/static/api-specs/nerm/schemas/GET/UserManagers.yaml new file mode 100644 index 000000000..2dcff404f --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/UserManagers.yaml @@ -0,0 +1,6 @@ +type: object +properties: + user_managers: + type: array + items: + $ref: '../GET/UserManager.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/UserProfile.yaml b/static/api-specs/nerm/schemas/GET/UserProfile.yaml new file mode 100644 index 000000000..c9a9f6b03 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/UserProfile.yaml @@ -0,0 +1,23 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + user_id: + type: string + format: uuid + profile_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + relationship_type: + type: string + enum: [owner, contributor] \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/UserProfiles.yaml b/static/api-specs/nerm/schemas/GET/UserProfiles.yaml new file mode 100644 index 000000000..48e42dd57 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/UserProfiles.yaml @@ -0,0 +1,6 @@ +type: object +properties: + user_profiles: + type: array + items: + $ref: '../GET/UserProfile.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/UserRole.yaml b/static/api-specs/nerm/schemas/GET/UserRole.yaml new file mode 100644 index 000000000..93f737809 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/UserRole.yaml @@ -0,0 +1,17 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + user_id: + type: string + format: uuid + role_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/UserRoles.yaml b/static/api-specs/nerm/schemas/GET/UserRoles.yaml new file mode 100644 index 000000000..fe14e7873 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/UserRoles.yaml @@ -0,0 +1,6 @@ +type: object +properties: + user_roles: + type: array + items: + $ref: '../GET/UserRole.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/Users.yaml b/static/api-specs/nerm/schemas/GET/Users.yaml new file mode 100644 index 000000000..395cdec80 --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/Users.yaml @@ -0,0 +1,6 @@ +type: object +properties: + users: + type: array + items: + $ref: '../GET/User.yaml' \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/GET/WorkflowSession.yaml b/static/api-specs/nerm/schemas/GET/WorkflowSession.yaml new file mode 100644 index 000000000..786dcef1e --- /dev/null +++ b/static/api-specs/nerm/schemas/GET/WorkflowSession.yaml @@ -0,0 +1,45 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + workflow_id: + type: string + format: uuid + requester_id: + type: string + format: uuid + requester_type: + type: string + enum: [User, NeprofileUser, NeaccessUser] + profile_id: + type: string + format: uuid + description: The profile this workflow session will be working with. Only Applicable for Update workflows + profile_ids: + type: array + items: + type: string + format: uuid + description: The profiles this workflow session will be working with. Only Applicable for Batch workflows + status: + type: string + enum: [api_request_sent, approved, assigned, attempting_to_start_workflow, AUTH-STATUS1, AUTH-STATUS2, AUTH-STATUS3, AUTH-STATUS4, AUTH-STATUS5, AUTH-STATUS6, AUTH-STATUS7, AUTH-STATUS8, AUTH-STATUS9, auto_assigned, batch_completed, checking_for_duplicates, closed, completed, courion_add, courion_extend, courion_terminate, courion_update, duplicates_resolved, failed, fulfilled, invitation_sent, ldap_provided, new, non_employee_created, non_employee_updated, notified, pending_approval, pending_assignment, pending_courion_add, pending_courion_extend, pending_courion_terminate, pending_courion_update, pending_creation, pending_fulfillment, pending_ldap, pending_notification, pending_profile_select, pending_request, pending_review, pending_status_change, pending_stored_procedure, pending_trigger, pending_update, processing, profile_check_complete, profiles_selected, rejected, requested, reviewed, soap_request_sent, started_workflow, status_changed, stored_procedure, un_assigned, waiting_on_workflow, workflow_changed] + example: completed + attributes: + type: object + additionalProperties: + type: string + example: + text_attribute_uid: static text + date_attribute_uid: 01/15/2020 + profile_select_attribute_uid: Profile Name + multiple_profile_select_attribute_uid: Profile Name,Second Profile Name,Third Profile Name + contributor_select_attribute_uid: User Name + multiple_contributor_select_attribute_uid: User Name,Second User Name,Third User Name \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/Job.yaml b/static/api-specs/nerm/schemas/Job.yaml new file mode 100644 index 000000000..9b38b7269 --- /dev/null +++ b/static/api-specs/nerm/schemas/Job.yaml @@ -0,0 +1,17 @@ +type: object +properties: + info: + type: string + example: "job has started" + job_status: + type: object + properties: + job_id: + type: string + example: "3ce88e47ad6dba2ddf349d21" + status: + type: string + example: "queued" + status: + type: int + example: 200 \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/Metadata.yaml b/static/api-specs/nerm/schemas/Metadata.yaml new file mode 100644 index 000000000..aab30cde8 --- /dev/null +++ b/static/api-specs/nerm/schemas/Metadata.yaml @@ -0,0 +1,14 @@ +type: object +properties: + limit: + type: integer + offset: + type: integer + total: + type: integer + next: + type: string + example: /endpoint?limit=10&offset=60 + previous: + type: string + example: /endpoint?limit=10&offset=40 \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/AdvancedSearch.yaml b/static/api-specs/nerm/schemas/PATCH/AdvancedSearch.yaml new file mode 100644 index 000000000..57a8d14f2 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/AdvancedSearch.yaml @@ -0,0 +1,17 @@ +type: object +properties: + id: + type: string + format: uuid + label: + type: string + condition_rules_attributes: + type: array + items: + anyOf: + - $ref: "./ProfileTypeRule.yaml" + - $ref: "./ProfileStatusRule.yaml" + - $ref: "./ProfileAttributeRuleString.yaml" + - $ref: "./ProfileAttributeRuleDate.yaml" + - $ref: "./ProfileAttributeRuleId.yaml" + - $ref: "./RiskRule.yaml" diff --git a/static/api-specs/nerm/schemas/PATCH/AttributeOption.yaml b/static/api-specs/nerm/schemas/PATCH/AttributeOption.yaml new file mode 100644 index 000000000..303e9c11a --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/AttributeOption.yaml @@ -0,0 +1,7 @@ +type: object +properties: + ne_attribute_id: + type: string + format: uuid + option: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/AttributeOptions.yaml b/static/api-specs/nerm/schemas/PATCH/AttributeOptions.yaml new file mode 100644 index 000000000..36cf6ac8f --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/AttributeOptions.yaml @@ -0,0 +1,10 @@ +type: object +properties: + id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + option: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/Profile.yaml b/static/api-specs/nerm/schemas/PATCH/Profile.yaml new file mode 100644 index 000000000..0a4c5f64b --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/Profile.yaml @@ -0,0 +1,27 @@ +type: object +properties: + name: + type: string + profile_type_id: + type: string + format: uuid + status: + type: string + enum: [Active, Inactive, On Leave, Terminated] + id_proofing_status: + type: string + enum: [pending, pass, fail] + archived: + type: boolean + default: false + attributes: + type: object + additionalProperties: + type: string + example: + text_attribute_uid: static text + date_attribute_uid: 01/15/2020 + profile_select_attribute_uid: Profile Name + multiple_profile_select_attribute_uid: Profile Name,Second Profile Name,Third Profile Name + contributor_select_attribute_uid: User Name + multiple_contributor_select_attribute_uid: User Name,Second User Name,Third User Name \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleDate.yaml b/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleDate.yaml new file mode 100644 index 000000000..324dc9b47 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleDate.yaml @@ -0,0 +1,48 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [DateAttribute] + condition_object_id: + type: string + format: uuid + secondary_attribute_type: + type: string + enum: [DateAttribute] + secondary_attribute_id: + type: string + format: uuid + comparison_operator: + type: string + enum: ['>', '<', 'after', 'before'] + value: + type: string + required: true + enum: ['Today', ''] + secondary_value: + type: string + enum: ['after', 'before'] + tertiary_value: + type: string + example: 30 + _destroy: + type: boolean + default: false + + + + diff --git a/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleId.yaml b/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleId.yaml new file mode 100644 index 000000000..680385216 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleId.yaml @@ -0,0 +1,34 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [ProfileSelectAttribute, ProfileSearchAttribute, OwnerSelectAttribute, OwnerSearchAttribute, ContributorSelectAttribute, ContributorSearchAttribute] + condition_object_id: + type: string + required: true + format: uuid + comparison_operator: + type: string + required: true + enum: ['include?', 'exclude?'] + value: + type: string + required: true + format: uuid + _destroy: + type: boolean + default: false diff --git a/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleString.yaml b/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleString.yaml new file mode 100644 index 000000000..e9b4a3b8b --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/ProfileAttributeRuleString.yaml @@ -0,0 +1,34 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [TextFieldAttribute, TextAreaAttribute] + condition_object_id: + type: string + required: true + format: uuid + comparison_operator: + type: string + required: true + enum: ['==', '!=', '>', '<', 'start_with?', 'end_with?', 'include?'] + value: + type: string + required: true + example: Some value + _destroy: + type: boolean + default: false diff --git a/static/api-specs/nerm/schemas/PATCH/ProfileStatusRule.yaml b/static/api-specs/nerm/schemas/PATCH/ProfileStatusRule.yaml new file mode 100644 index 000000000..969676c19 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/ProfileStatusRule.yaml @@ -0,0 +1,20 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + type: + type: string + required: true + enum: [ProfileStatusRule] + comparison_operator: + type: string + enum: ['==', '!='] + value: + type: string + enum: [Active, Inactive, Leave of absence, Terminated] + _destroy: + type: boolean + default: false + \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/ProfileType.yaml b/static/api-specs/nerm/schemas/PATCH/ProfileType.yaml new file mode 100644 index 000000000..935d9bfa2 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/ProfileType.yaml @@ -0,0 +1,52 @@ +type: object +properties: + name: + type: string + bypass_dup_protection: + type: boolean + archived: + type: boolean + permitted_role_ids: + type: array + items: + type: string + format: uuid + profile_type_dup_attributes: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + uid: + type: string + minLength: 32 + maxLength: 32 + profile_type_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + profile_type_namings: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + uid: + type: string + minLength: 32 + maxLength: 32 + profile_type_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + order: + type: integer + minimum: 0 diff --git a/static/api-specs/nerm/schemas/PATCH/ProfileTypeRule.yaml b/static/api-specs/nerm/schemas/PATCH/ProfileTypeRule.yaml new file mode 100644 index 000000000..2d1511127 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/ProfileTypeRule.yaml @@ -0,0 +1,20 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + type: + type: string + required: true + enum: [ProfileTypeRule] + comparison_operator: + type: string + enum: ['==', '!='] + value: + type: string + format: uuid + _destroy: + type: boolean + default: false + \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/Profiles.yaml b/static/api-specs/nerm/schemas/PATCH/Profiles.yaml new file mode 100644 index 000000000..caab35a58 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/Profiles.yaml @@ -0,0 +1,30 @@ +type: object +properties: + id: + type: string + format: uuid + name: + type: string + profile_type_id: + type: string + format: uuid + status: + type: string + enum: [Active, Inactive, On Leave, Terminated] + id_proofing_status: + type: string + enum: [pending, pass, fail] + archived: + type: boolean + default: false + attributes: + type: object + additionalProperties: + type: string + example: + text_attribute_uid: static text + date_attribute_uid: 01/15/2020 + profile_select_attribute_uid: Profile Name + multiple_profile_select_attribute_uid: Profile Name,Second Profile Name,Third Profile Name + contributor_select_attribute_uid: User Name + multiple_contributor_select_attribute_uid: User Name,Second User Name,Third User Name \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/RiskRule.yaml b/static/api-specs/nerm/schemas/PATCH/RiskRule.yaml new file mode 100644 index 000000000..21b67c211 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/RiskRule.yaml @@ -0,0 +1,30 @@ +type: object +properties: + id: + type: string + format: uuid + readOnly: true + uid: + type: string + minLength: 32 + maxLength: 32 + readOnly: true + type: + type: string + required: true + enum: [RiskRule] + comparison_operator: + type: string + enum: ['==', '>', '<'] + value: + type: string + summary: id of the Risk Level being compared against + required: true + format: uuid + secondary_value: + type: string + required: true + enum: [OverallRisk] + _destroy: + type: boolean + default: false diff --git a/static/api-specs/nerm/schemas/PATCH/Role.yaml b/static/api-specs/nerm/schemas/PATCH/Role.yaml new file mode 100644 index 000000000..c596b34bf --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/Role.yaml @@ -0,0 +1,13 @@ +type: object +properties: + type: + type: string + enum: [NeprofileRole, NeaccessRole] + name: + type: string + example: "Sponsors" + groups: + type: array + items: + type: string + example: "ad_group_name" \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/RoleProfile.yaml b/static/api-specs/nerm/schemas/PATCH/RoleProfile.yaml new file mode 100644 index 000000000..88b907b37 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/RoleProfile.yaml @@ -0,0 +1,8 @@ +type: object +properties: + role_id: + type: string + format: uuid + profile_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/RoleProfiles.yaml b/static/api-specs/nerm/schemas/PATCH/RoleProfiles.yaml new file mode 100644 index 000000000..c2a75ac24 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/RoleProfiles.yaml @@ -0,0 +1,11 @@ +type: object +properties: + id: + type: string + format: uuid + role_id: + type: string + format: uuid + profile_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/User.yaml b/static/api-specs/nerm/schemas/PATCH/User.yaml new file mode 100644 index 000000000..28e2b8efc --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/User.yaml @@ -0,0 +1,31 @@ +type: object +properties: + id: + type: string + format: uuid + required: true + writeOnly: true + name: + type: string + email: + type: string + format: email + type: + type: string + enum: [NeprofileUser, NeaccessUser] + default: NeprofileUser + profile_id: + type: string + format: uuid + title: + type: string + status: + type: string + enum: [Active, Disabled] + login: + type: string + admin: + type: boolean + group_strings: + type: string + example: "Administrator_group,Developer_group" \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/UserManager.yaml b/static/api-specs/nerm/schemas/PATCH/UserManager.yaml new file mode 100644 index 000000000..b47647b12 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/UserManager.yaml @@ -0,0 +1,8 @@ +type: object +properties: + user_id: + type: string + format: uuid + manager_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/UserManagers.yaml b/static/api-specs/nerm/schemas/PATCH/UserManagers.yaml new file mode 100644 index 000000000..e04a8ba03 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/UserManagers.yaml @@ -0,0 +1,11 @@ +type: object +properties: + id: + type: string + format: uuid + user_id: + type: string + format: uuid + manager_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/UserProfile.yaml b/static/api-specs/nerm/schemas/PATCH/UserProfile.yaml new file mode 100644 index 000000000..679b0cc4c --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/UserProfile.yaml @@ -0,0 +1,14 @@ +type: object +properties: + user_id: + type: string + format: uuid + profile_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + relationship_type: + type: string + enum: [owner, contributor] \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/UserProfiles.yaml b/static/api-specs/nerm/schemas/PATCH/UserProfiles.yaml new file mode 100644 index 000000000..8133d618d --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/UserProfiles.yaml @@ -0,0 +1,17 @@ +type: object +properties: + id: + type: string + format: uuid + user_id: + type: string + format: uuid + profile_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + relationship_type: + type: string + enum: [owner, contributor] \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/UserRole.yaml b/static/api-specs/nerm/schemas/PATCH/UserRole.yaml new file mode 100644 index 000000000..ec36728cd --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/UserRole.yaml @@ -0,0 +1,8 @@ +type: object +properties: + user_id: + type: string + format: uuid + role_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/UserRoles.yaml b/static/api-specs/nerm/schemas/PATCH/UserRoles.yaml new file mode 100644 index 000000000..02acd5ca7 --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/UserRoles.yaml @@ -0,0 +1,11 @@ +type: object +properties: + id: + type: string + format: uuid + user_id: + type: string + format: uuid + role_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/PATCH/WorkflowSession.yaml b/static/api-specs/nerm/schemas/PATCH/WorkflowSession.yaml new file mode 100644 index 000000000..90d9fad7a --- /dev/null +++ b/static/api-specs/nerm/schemas/PATCH/WorkflowSession.yaml @@ -0,0 +1,36 @@ +type: object +properties: + workflow_id: + type: string + format: uuid + requester_id: + type: string + format: uuid + requester_type: + type: string + enum: [User, NeprofileUser, NeaccessUser] + profile_id: + type: string + format: uuid + description: The profile this workflow session will be working with. Only Applicable for Update workflows + profile_ids: + type: array + items: + type: string + format: uuid + description: The profiles this workflow session will be working with. Only Applicable for Batch workflows + status: + type: string + enum: [api_request_sent, approved, assigned, attempting_to_start_workflow, AUTH-STATUS1, AUTH-STATUS2, AUTH-STATUS3, AUTH-STATUS4, AUTH-STATUS5, AUTH-STATUS6, AUTH-STATUS7, AUTH-STATUS8, AUTH-STATUS9, auto_assigned, batch_completed, checking_for_duplicates, closed, completed, courion_add, courion_extend, courion_terminate, courion_update, duplicates_resolved, failed, fulfilled, invitation_sent, ldap_provided, new, non_employee_created, non_employee_updated, notified, pending_approval, pending_assignment, pending_courion_add, pending_courion_extend, pending_courion_terminate, pending_courion_update, pending_creation, pending_fulfillment, pending_ldap, pending_notification, pending_profile_select, pending_request, pending_review, pending_status_change, pending_stored_procedure, pending_trigger, pending_update, processing, profile_check_complete, profiles_selected, rejected, requested, reviewed, soap_request_sent, started_workflow, status_changed, stored_procedure, un_assigned, waiting_on_workflow, workflow_changed] + example: completed + attributes: + type: object + additionalProperties: + type: string + example: + text_attribute_uid: static text + date_attribute_uid: 01/15/2020 + profile_select_attribute_uid: Profile Name + multiple_profile_select_attribute_uid: Profile Name,Second Profile Name,Third Profile Name + contributor_select_attribute_uid: User Name + multiple_contributor_select_attribute_uid: User Name,Second User Name,Third User Name \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/AdvancedSearch.yaml b/static/api-specs/nerm/schemas/POST/AdvancedSearch.yaml new file mode 100644 index 000000000..7f91e2193 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/AdvancedSearch.yaml @@ -0,0 +1,14 @@ +type: object +properties: + label: + type: string + condition_rules_attributes: + type: array + items: + anyOf: + - $ref: "./ProfileTypeRule.yaml" + - $ref: "./ProfileStatusRule.yaml" + - $ref: "./ProfileAttributeRuleString.yaml" + - $ref: "./ProfileAttributeRuleDate.yaml" + - $ref: "./ProfileAttributeRuleId.yaml" + - $ref: "./RiskRule.yaml" diff --git a/static/api-specs/nerm/schemas/POST/AttributeOption.yaml b/static/api-specs/nerm/schemas/POST/AttributeOption.yaml new file mode 100644 index 000000000..303e9c11a --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/AttributeOption.yaml @@ -0,0 +1,7 @@ +type: object +properties: + ne_attribute_id: + type: string + format: uuid + option: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/Profile.yaml b/static/api-specs/nerm/schemas/POST/Profile.yaml new file mode 100644 index 000000000..d54aa6cd0 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/Profile.yaml @@ -0,0 +1,29 @@ +type: object +properties: + name: + type: string + profile_type_id: + type: string + format: uuid + required: true + status: + type: string + enum: [Active, Inactive, On Leave, Terminated] + required: true + id_proofing_status: + type: string + enum: [pending, pass, fail] + archived: + type: boolean + default: false + attributes: + type: object + additionalProperties: + type: string + example: + text_attribute_uid: static text + date_attribute_uid: 01/15/2020 + profile_select_attribute_uid: Profile Name + multiple_profile_select_attribute_uid: Profile Name,Second Profile Name,Third Profile Name + contributor_select_attribute_uid: User Name + multiple_contributor_select_attribute_uid: User Name,Second User Name,Third User Name \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleDate.yaml b/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleDate.yaml new file mode 100644 index 000000000..6a7390d63 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleDate.yaml @@ -0,0 +1,36 @@ +type: object +properties: + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [DateAttribute] + condition_object_id: + type: string + format: uuid + secondary_attribute_type: + type: string + enum: [DateAttribute] + secondary_attribute_id: + type: string + format: uuid + comparison_operator: + type: string + enum: ['>', '<', 'after', 'before'] + value: + type: string + required: true + enum: ['Today', ''] + secondary_value: + type: string + enum: ['after', 'before'] + tertiary_value: + type: string + example: 30 + + + + diff --git a/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleId.yaml b/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleId.yaml new file mode 100644 index 000000000..bb4022576 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleId.yaml @@ -0,0 +1,22 @@ +type: object +properties: + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [ProfileSelectAttribute, ProfileSearchAttribute, OwnerSelectAttribute, OwnerSearchAttribute, ContributorSelectAttribute, ContributorSearchAttribute] + condition_object_id: + type: string + required: true + format: uuid + comparison_operator: + type: string + required: true + enum: ['include?', 'exclude?'] + value: + type: string + required: true + format: uuid diff --git a/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleString.yaml b/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleString.yaml new file mode 100644 index 000000000..5242ad11f --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/ProfileAttributeRuleString.yaml @@ -0,0 +1,22 @@ +type: object +properties: + type: + type: string + required: true + enum: [ProfileAttributeRule] + condition_object_type: + type: string + required: true + enum: [TextFieldAttribute, TextAreaAttribute] + condition_object_id: + type: string + required: true + format: uuid + comparison_operator: + type: string + required: true + enum: ['==', '!=', '>', '<', 'start_with?', 'end_with?', 'include?'] + value: + type: string + required: true + example: Some value diff --git a/static/api-specs/nerm/schemas/POST/ProfileStatusRule.yaml b/static/api-specs/nerm/schemas/POST/ProfileStatusRule.yaml new file mode 100644 index 000000000..e7bcf9289 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/ProfileStatusRule.yaml @@ -0,0 +1,14 @@ +type: object +properties: + type: + type: string + required: true + enum: [ProfileStatusRule] + comparison_operator: + type: string + required: true + enum: ['==', '!='] + value: + type: string + required: true + enum: [Active, Inactive, Leave of absence, Terminated] diff --git a/static/api-specs/nerm/schemas/POST/ProfileType.yaml b/static/api-specs/nerm/schemas/POST/ProfileType.yaml new file mode 100644 index 000000000..f19fe6eb3 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/ProfileType.yaml @@ -0,0 +1,54 @@ +type: object +properties: + name: + type: string + bypass_dup_protection: + type: boolean + default: false + archived: + type: boolean + default: false + permitted_role_ids: + type: array + items: + type: string + format: uuid + profile_type_dup_attributes: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + uid: + type: string + minLength: 32 + maxLength: 32 + profile_type_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + profile_type_namings: + type: array + items: + type: object + properties: + id: + type: string + format: uuid + uid: + type: string + minLength: 32 + maxLength: 32 + profile_type_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + order: + type: integer + minimum: 0 diff --git a/static/api-specs/nerm/schemas/POST/ProfileTypeRule.yaml b/static/api-specs/nerm/schemas/POST/ProfileTypeRule.yaml new file mode 100644 index 000000000..66efe7c51 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/ProfileTypeRule.yaml @@ -0,0 +1,14 @@ +type: object +properties: + type: + type: string + required: true + enum: [ProfileTypeRule] + comparison_operator: + type: string + required: true + enum: ['==', '!='] + value: + type: string + required: true + format: uuid diff --git a/static/api-specs/nerm/schemas/POST/RiskRule.yaml b/static/api-specs/nerm/schemas/POST/RiskRule.yaml new file mode 100644 index 000000000..3d63b85cc --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/RiskRule.yaml @@ -0,0 +1,18 @@ +type: object +properties: + type: + type: string + required: true + enum: [RiskRule] + comparison_operator: + type: string + enum: ['==', '>', '<'] + value: + type: string + summary: id of the Risk Level being compared against + required: true + format: uuid + secondary_value: + type: string + required: true + enum: [OverallRisk] diff --git a/static/api-specs/nerm/schemas/POST/Role.yaml b/static/api-specs/nerm/schemas/POST/Role.yaml new file mode 100644 index 000000000..6ce215bf0 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/Role.yaml @@ -0,0 +1,18 @@ +type: object +properties: + uid: + type: string + minLength: 32 + maxLength: 32 + example: "sponsors_role" + type: + type: string + enum: [NeprofileRole, NeaccessRole] + name: + type: string + example: "Sponsors" + groups: + type: array + items: + type: string + example: "ad_group_name" \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/RoleProfile.yaml b/static/api-specs/nerm/schemas/POST/RoleProfile.yaml new file mode 100644 index 000000000..88b907b37 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/RoleProfile.yaml @@ -0,0 +1,8 @@ +type: object +properties: + role_id: + type: string + format: uuid + profile_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/User.yaml b/static/api-specs/nerm/schemas/POST/User.yaml new file mode 100644 index 000000000..a27db3cff --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/User.yaml @@ -0,0 +1,31 @@ +type: object +properties: + name: + type: string + required: true + email: + type: string + format: email + required: true + type: + type: string + enum: ['NeprofileUser', 'NeaccessUser'] + default: NeprofileUser + profile_id: + type: string + format: uuid + title: + type: string + status: + type: string + enum: [Active, Disabled] + required: true + login: + type: string + required: true + admin: + type: boolean + default: false + group_strings: + type: string + example: "Administrator_group,Developer_group" \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/UserManager.yaml b/static/api-specs/nerm/schemas/POST/UserManager.yaml new file mode 100644 index 000000000..b47647b12 --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/UserManager.yaml @@ -0,0 +1,8 @@ +type: object +properties: + user_id: + type: string + format: uuid + manager_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/UserProfile.yaml b/static/api-specs/nerm/schemas/POST/UserProfile.yaml new file mode 100644 index 000000000..679b0cc4c --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/UserProfile.yaml @@ -0,0 +1,14 @@ +type: object +properties: + user_id: + type: string + format: uuid + profile_id: + type: string + format: uuid + ne_attribute_id: + type: string + format: uuid + relationship_type: + type: string + enum: [owner, contributor] \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/UserRole.yaml b/static/api-specs/nerm/schemas/POST/UserRole.yaml new file mode 100644 index 000000000..ec36728cd --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/UserRole.yaml @@ -0,0 +1,8 @@ +type: object +properties: + user_id: + type: string + format: uuid + role_id: + type: string + format: uuid \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/POST/WorkflowSession.yaml b/static/api-specs/nerm/schemas/POST/WorkflowSession.yaml new file mode 100644 index 000000000..016cfc45e --- /dev/null +++ b/static/api-specs/nerm/schemas/POST/WorkflowSession.yaml @@ -0,0 +1,35 @@ +type: object +properties: + workflow_id: + type: string + format: uuid + required: true + requester_id: + type: string + format: uuid + required: true + requester_type: + type: string + enum: [User, NeprofileUser, NeaccessUser] + required: true + profile_id: + type: string + format: uuid + description: The profile this workflow session will be working with. Only Applicable for Update workflows + profile_ids: + type: array + items: + type: string + format: uuid + description: The profiles this workflow session will be working with. Only Applicable for Batch workflows + attributes: + type: object + additionalProperties: + type: string + example: + text_attribute_uid: static text + date_attribute_uid: 01/15/2020 + profile_select_attribute_uid: Profile Name + multiple_profile_select_attribute_uid: Profile Name,Second Profile Name,Third Profile Name + contributor_select_attribute_uid: User Name + multiple_contributor_select_attribute_uid: User Name,Second User Name,Third User Name \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/Placeholder.yaml b/static/api-specs/nerm/schemas/Placeholder.yaml new file mode 100644 index 000000000..8d90375f9 --- /dev/null +++ b/static/api-specs/nerm/schemas/Placeholder.yaml @@ -0,0 +1,4 @@ +type: object +properties: + placeholder: + type: string \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/Url.yaml b/static/api-specs/nerm/schemas/Url.yaml new file mode 100644 index 000000000..596ce1a02 --- /dev/null +++ b/static/api-specs/nerm/schemas/Url.yaml @@ -0,0 +1,6 @@ +type: object +properties: + url: + type: string + format: url + readOnly: true \ No newline at end of file diff --git a/static/api-specs/nerm/schemas/_index.yaml b/static/api-specs/nerm/schemas/_index.yaml new file mode 100644 index 000000000..952a7376a --- /dev/null +++ b/static/api-specs/nerm/schemas/_index.yaml @@ -0,0 +1,36 @@ +Url: + $ref: './Url.yaml' +User: + $ref: './GET/User.yaml' +UserManager: + $ref: './GET/UserManager.yaml' +UserRole: + $ref: './GET/UserRole.yaml' +Attribute: + $ref: './GET/Attribute.yaml' +AttributeOption: + $ref: './GET/AttributeOption.yaml' +ProfileType: + $ref: './GET/ProfileType.yaml' +Profile: + $ref: './GET/Profile.yaml' +RiskScore: + $ref: './GET/RiskScore.yaml' +RiskLevel: + $ref: './GET/RiskLevel.yaml' +UserProfile: + $ref: './GET/UserProfile.yaml' +RoleProfile: + $ref: './GET/RoleProfile.yaml' +WorkflowSession: + $ref: './GET/WorkflowSession.yaml' +IdentityProofingResult: + $ref: './GET/IdentityProofingResult.yaml' +AdvancedSearch: + $ref: './GET/AdvancedSearch.yaml' +ConditionRulesAttribute-ProfileTypeRule: + $ref: './GET/ProfileTypeRule.yaml' +ConditionRulesAttribute-ProfileStatusRule: + $ref: './GET/ProfileStatusRule.yaml' +ConditionRulesAttribute-ProfileAttributeRule: + $ref: './GET/ProfileAttributeRule.yaml' \ No newline at end of file