{"items":[{"type":"link","label":"Knowledge Content Manager APIs","link":"/apis/v4/knowledge/contentmgr/api-bundled","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled","content":{"contentType":"overview","meta":{"name":"Knowledge Content Manager APIs"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"api-bundled.json","url":"/_bundle/apis/v4/knowledge/contentmgr/api-bundled.json?download"},{"kind":"download","label":"api-bundled.yaml","url":"/_bundle/apis/v4/knowledge/contentmgr/api-bundled.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Knowledge Content Manager APIs","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[]}],"sectionId":"/"}],"sectionId":"/"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The Knowledge Content Manager API provides comprehensive capabilities for importing, validating, and managing knowledge content within the eGain platform. This API enables organizations to efficiently bulk-import content from external sources, validate content before import, and monitor import operations in real-time."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/key-features"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Key Features"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Authoring"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Create and edit articles, folders, and topics; check out, save, and publish articles"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topic and folder structure"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Organize content in folder hierarchies and topics"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bulk Content Import"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Import large volumes of content from Amazon S3 buckets"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content Validation"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Pre-import validation to ensure content quality and compliance"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job Management"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Track and manage import operations with detailed status monitoring"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Scheduling"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Schedule imports for off-peak hours to minimize system impact"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Real-time Monitoring"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Monitor import progress and access detailed logs"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/key-features"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/use-cases"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use Cases"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Programmatic edit and publish: check out an article, save changes, and publish through API calls"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge structure authoring: build folder trees, topics, and article placement"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Migrating content from legacy knowledge management systems"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Regular content updates from external content providers"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content validation before production deployment"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/use-cases"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/license-requirements"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"License Requirements"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Logged in user must have Knowledge + AI license."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/license-requirements"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/support"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Support"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For technical support and questions, contact the eGain support team."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/support"}]}]}},{"type":"link","label":"Overview","link":"/apis/v4/knowledge/contentmgr/api-bundled/section/overview","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/section/overview","content":null},{"type":"link","label":"Key Features","link":"/apis/v4/knowledge/contentmgr/api-bundled/section/key-features","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/section/key-features","content":null},{"type":"link","label":"Use Cases","link":"/apis/v4/knowledge/contentmgr/api-bundled/section/use-cases","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/section/use-cases","content":null},{"type":"link","label":"License Requirements","link":"/apis/v4/knowledge/contentmgr/api-bundled/section/license-requirements","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/section/license-requirements","content":null},{"type":"link","label":"Support","link":"/apis/v4/knowledge/contentmgr/api-bundled/section/support","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/section/support","content":null},{"type":"group","label":"Content Import","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import","items":[{"label":"Pause Job","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/pauseimportjob","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/pauseimportjob","metadata":{"seo":{"title":"Pause Job","description":"Pause Import Job"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"pauseImportJob","name":"Pause Job","isWebhook":false,"pointer":"/paths/~1import~1content~1{job_id}~1pause/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Pause Job","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"content-import/pauseimportjob/request/pause-import-job","deepLinkHash":"/content-import/pauseimportjob#content-import/pauseimportjob/request/pause-import-job"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pause Import Job"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Temporarily pauses a job that is currently "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In Progress"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The job's state is saved and can be resumed within one week, allowing system resources to be freed without losing progress. Only "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"import jobs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" can be paused, validations cannot be paused."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/pauseimportjob/request/pausing-behavior","deepLinkHash":"/content-import/pauseimportjob#content-import/pauseimportjob/request/pausing-behavior"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pausing Behavior"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In Progress Jobs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": The job will finish its current task and remain in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In Progress"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" state with a paused sub-status."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Other States"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Returns an error if the job is not in an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In Progress"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" state."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"job_id","in":"path","schemaId":"schema_0","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job ID Parameter"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The unique identifier for the import or validation job. This ID was returned when the job was created via the Import or Validate API."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Format:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" UUID v4 (e.g., 7A84B875-6F75-4C7B-B137-0632B62DB0BD)"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example Usage:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n","language":"bash"},"children":[{"$$mdtype":"Node","attributes":{"content":"GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n"},"children":[],"type":"text"}],"type":"fence"}],"required":true}],"pointer":"/paths/~1import~1content~1{job_id}~1pause/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/import/content/{job_id}/pause","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"job_id","in":"path","required":true,"example":"7A84B875-6F75-4C7B-B137-0632B62DB0BD","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"responseCodes":["202","401","403","404","409","500"],"pointer":"/import/content/{job_id}/pause","href":"content-import/pauseimportjob","openApiOperationId":"pauseImportJob","summary":"Pause Job"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request to paused the job has been accepted and is being processed. Monitor the job's status using the URL provided in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"location"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header."},"children":[],"type":"text"}],"type":"paragraph"}],"headers":{"location":{"schema":{"type":"string","example":"/knowledge/contentmgr/v4/import/content/7A84B-Y42R-J1B-5D-14VD/status"},"description":"The URL to check the status of the import job."}},"headerSchemaId":"schema_1"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/401/content/application~1json/examples/Unauthorized"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/403/content/application~1json/examples/Forbidden"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/403/content/application~1json/examples/Forbidden"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/404/content/application~1json/examples/Not found"]},{"code":"409","description":"Conflict. The job is not in a state that can be paused (e.g., it is a validation job, or it has already completed/failed).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Status Conflict","paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Validation Conflict"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Status Conflict","paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Validation Conflict"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1import~1content~1{job_id}~1pause/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/401/content/application~1json/examples/Unauthorized"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/403/content/application~1json/examples/Forbidden"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/403/content/application~1json/examples/Forbidden"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/404/content/application~1json/examples/Not found"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Status Conflict","paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Validation Conflict"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Status Conflict","paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Validation Conflict"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1pause/post/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/pauseimportjob"}],"panels":[]}]},"httpPath":"/import/content/{job_id}/pause"},{"label":"Resume Job","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/resumeimportjob","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/resumeimportjob","metadata":{"seo":{"title":"Resume Job","description":"Resume Import Job"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"resumeImportJob","name":"Resume Job","isWebhook":false,"pointer":"/paths/~1import~1content~1{job_id}~1resume/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Resume Job","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"content-import/resumeimportjob/request/resume-import-job","deepLinkHash":"/content-import/resumeimportjob#content-import/resumeimportjob/request/resume-import-job"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Resume Import Job"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Resumes a job that is currently in a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In-Progress"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" state with paused sub-status. Processing will continue from where it left off."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/resumeimportjob/request/resuming-behavior","deepLinkHash":"/content-import/resumeimportjob#content-import/resumeimportjob/request/resuming-behavior"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Resuming Behavior"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Paused Jobs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": The job sub-status will transition to no sub-status and continue processing."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Other States"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Returns an error if the job cannot be resumed."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"job_id","in":"path","schemaId":"schema_0","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job ID Parameter"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The unique identifier for the import or validation job. This ID was returned when the job was created via the Import or Validate API."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Format:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" UUID v4 (e.g., 7A84B875-6F75-4C7B-B137-0632B62DB0BD)"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example Usage:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n","language":"bash"},"children":[{"$$mdtype":"Node","attributes":{"content":"GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n"},"children":[],"type":"text"}],"type":"fence"}],"required":true}],"pointer":"/paths/~1import~1content~1{job_id}~1resume/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/import/content/{job_id}/resume","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"job_id","in":"path","required":true,"example":"7A84B875-6F75-4C7B-B137-0632B62DB0BD","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"responseCodes":["202","401","403","404","409","500"],"pointer":"/import/content/{job_id}/resume","href":"content-import/resumeimportjob","openApiOperationId":"resumeImportJob","summary":"Resume Job"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request to resume the job has been accepted and is being processed. Monitor the job's status using the URL provided in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"location"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header."},"children":[],"type":"text"}],"type":"paragraph"}],"headers":{"location":{"schema":{"type":"string","example":"/knowledge/contentmgr/v4/import/content/7A84B-Y42R-J1B-5D-14VD/status"},"description":"The URL to check the status of the import job."}},"headerSchemaId":"schema_1"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/401/content/application~1json/examples/Unauthorized"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/403/content/application~1json/examples/Forbidden"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/403/content/application~1json/examples/Forbidden"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/404/content/application~1json/examples/Not found"]},{"code":"409","description":"Conflict. The job is not in a state that can be resumed (e.g., it is still in progress or completed successfully).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Conflict","paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Validation Conflict"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Conflict","paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Validation Conflict"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1import~1content~1{job_id}~1resume/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/401/content/application~1json/examples/Unauthorized"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/403/content/application~1json/examples/Forbidden"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/403/content/application~1json/examples/Forbidden"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/404/content/application~1json/examples/Not found"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Conflict","paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Validation Conflict"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Conflict","paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Validation Conflict"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1resume/post/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/resumeimportjob"}],"panels":[]}]},"httpPath":"/import/content/{job_id}/resume"},{"label":"Create Import Job","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/createimportjob","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/createimportjob","metadata":{"seo":{"title":"Create Import Job","description":"Import Content"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createImportJob","name":"Create Import Job","isWebhook":false,"pointer":"/paths/~1import~1content/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Import Job","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"content-import/createimportjob/request/import-content","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/import-content"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Import Content"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/overview","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API initiates a bulk content import operation from Data Sources. It creates an asynchronous import job that processes content in the background, allowing you to import large volumes of content without blocking your application."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/pre-requisties","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/pre-requisties"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pre-requisties"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content in Data Source needs to be in this format: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://apidev.egain.com/developer-portal/guides/ingestion/data-import-format-guide/"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Guide to Data Import Format"},"children":[],"type":"text"}],"type":"link"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/how-it-works","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/how-it-works"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How It Works"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job Creation"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": The API creates an import job and returns a unique job ID"},"children":[],"type":"text"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Only 1 Job is ran at a time, with a maximum 3 jobs allowed to be queued up"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content Processing"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Content is processed asynchronously in the background"},"children":[],"type":"text"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Jobs will have a dynamic maximum runtime depending on system resources"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status Monitoring"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use the job ID to monitor progress via the Status API"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Completion"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Job completes when all content is processed or errors occur"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" After a successful import, please allow for a brief delay before the content is fully available for use. The system's search service synchronizes all new and updated content every 30 minutes."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/imported-articles-state","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/imported-articles-state"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Imported Articles State"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A successfully completed import job does not guarantee that imported articles are published. Imported articles are placed into the workflow assigned to their destination folder — either a workflow configured explicitly on the folder, or the department's default workflow when none is configured at the folder level."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If that workflow includes review stages, imported articles are left in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"draft"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" stage rather than "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" The ingestion service account does not have permission to progress articles through workflow review stages. Articles must be advanced to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" by a user authorized to do so by the article's workflow, for example using the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/editarticle"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" API with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation=publish"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the applicable workflow (explicit or default) has no review stages, imported articles are published automatically."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This is expected behavior driven by the destination folder's (or department's) workflow configuration, not an ingestion error. If imported content unexpectedly remains in draft state, review the workflow assigned to the destination folder."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/supported-operations","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/supported-operations"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Supported Operations"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Import"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Add new content to the knowledge base"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Reimport"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Modify existing content"},"children":[],"type":"text"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" The recommendation is to only include the updated content in the package for Reimport jobs. Otherwise duplicate content will be uploaded again as a new version, adding to job run time."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/data-source-types","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/data-source-types"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Data Source Types"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"AWS S3 bucket"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Shared file path"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/best-practices","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/best-practices"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Scheduling"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use scheduleTime for off-peak imports to minimize system impact. Please note that jobs can only be scheduled for a maximum of 7 days from the current date and time."},"children":[],"type":"text"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Scheduling does not guarantee that job will start at scheduleTime. System will attempt to start job at scheduledTime but if it is unable to due to lack of resource, it will start as soon as resources are available. Jobs scheduled that exceed the stopDate will automatically be cancelled."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitoring"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Regularly check job status and logs for any issues"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Error Handling"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Review failed items and retry with corrections"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/job-timing-controls","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/job-timing-controls"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job Timing Controls"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"scheduleTime.stopDate"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Defines a specific date time to cease operations regardless of progress (e.g., \"Stop exactly at 5:00 PM\")."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/request/import-report","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/request/import-report"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Import Report"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"includeReport"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to have the service generate a structured import report when the job concludes. The report summarizes which resources were created, updated, deleted, or failed, and includes the eGain-assigned IDs for each — useful for post-import work that needs to map source paths to the resulting resource IDs. When enabled, the report's location is returned as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"reportFolderLocation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the Get Job Status response. For the report's structure and contents, see the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://apidev.egain.com/developer-portal/guides/ingestion/ingestion-overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ingestion API Overview"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ImportContent","exampleIds":["paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Start and Stop Date to Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Update existing content in the Department from SFTP","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content and generate an import report"]}},"schemaId":"components/schemas/ImportContent","exampleIds":["paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Start and Stop Date to Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Update existing content in the Department from SFTP","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content and generate an import report"],"pointer":"/paths/~1import~1content/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/import/content","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/ImportContent","exampleIds":["paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Start and Stop Date to Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Update existing content in the Department from SFTP","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content and generate an import report"]}},"responseCodes":["202","400","401","403","406","409","412","500"],"pointer":"/import/content","href":"content-import/createimportjob","openApiOperationId":"createImportJob","summary":"Create Import Job"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/ImportContent","exampleIds":["paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Start and Stop Date to Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Update existing content in the Department from SFTP","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content and generate an import report"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ImportContent","exampleIds":["paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Start and Stop Date to Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content in the Department","paths/~1import~1content/post/requestBody/content/application~1json/examples/Update existing content in the Department from SFTP","paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content and generate an import report"]}},"examples":[{},{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":[{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportjob/responses/202/import-job-accepted","deepLinkHash":"/content-import/createimportjob#content-import/createimportjob/responses/202/import-job-accepted"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Import Job Accepted"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The import job has been successfully created and queued for processing. The job will begin execution according to the specified schedule or immediately if no schedule is provided."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Next Steps:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use the returned job ID to monitor progress via the Status API"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Check job logs for any validation warnings or errors"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor job completion and review results"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Expected Processing Time:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Small jobs (< 1,000 items): 5-15 minutes"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Medium jobs (1,000-10,000 items): 15-60 minutes"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Large jobs (> 10,000 items): 1-4 hours (depending on content complexity)"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"headers":{"location":{"schema":{"type":"string","example":"/knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status"},"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Location Header"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This header contains the URL to check the status of your import job. The job ID (7A84B875-6F75-4C7B-B137-0632B62DB0BD in this example) is your unique identifier for tracking this operation."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Usage:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"GET /knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n","language":"bash"},"children":[{"$$mdtype":"Node","attributes":{"content":"GET /knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n"},"children":[],"type":"text"}],"type":"fence"}]}},"headerSchemaId":"schema_2"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/400/content/application~1json/examples/LimitExceeded Value","paths/~1import~1content/post/responses/400/content/application~1json/examples/Invalid Value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/400/content/application~1json/examples/LimitExceeded Value","paths/~1import~1content/post/responses/400/content/application~1json/examples/Invalid Value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/401/content/application~1json/examples/Unauthorized"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":"Conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/409/content/application~1json/example"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/409/content/application~1json/example"]},{"code":"412","description":"Preconditions failed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/412/content/application~1json/examples/precondition failed"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/412/content/application~1json/examples/precondition failed"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1import~1content/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/400/content/application~1json/examples/LimitExceeded Value","paths/~1import~1content/post/responses/400/content/application~1json/examples/Invalid Value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/400/content/application~1json/examples/LimitExceeded Value","paths/~1import~1content/post/responses/400/content/application~1json/examples/Invalid Value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/401/content/application~1json/examples/Unauthorized"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/409/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/409/content/application~1json/example"]}}},{"code":"412","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/412/content/application~1json/examples/precondition failed"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/412/content/application~1json/examples/precondition failed"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content/post/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/createimportjob"}],"panels":[]}]},"httpPath":"/import/content"},{"label":"Get validation hooks","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhooks","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhooks","metadata":{"seo":{"title":"Get validation hooks","description":"Retrieve all validation hooks configured for the current environment. Only the current version of each hook is returned."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getValidationHooks","name":"Get validation hooks","isWebhook":false,"pointer":"/paths/~1import~1config~1hooks/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get validation hooks","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all validation hooks configured for the current environment. Only the current version of each hook is returned.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"type","in":"query","schemaId":"schema_3","description":"Filter by hook type."}],"pointer":"/paths/~1import~1config~1hooks/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/import/config/hooks","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[{"name":"type","in":"query","schemaId":"schema_3"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]}],"responseCodes":["200","401"],"pointer":"/import/config/hooks","href":"content-import/getvalidationhooks","openApiOperationId":"getValidationHooks","summary":"Get validation hooks"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of validation hooks.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Hooks","exampleIds":["paths/~1import~1config~1hooks/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/Hooks","exampleIds":["paths/~1import~1config~1hooks/get/responses/200/content/application~1json/example"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks/get/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks/get/responses/401/content/application~1json/examples/Unauthorized"]}],"pointer":"/paths/~1import~1config~1hooks/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Hooks","exampleIds":["paths/~1import~1config~1hooks/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Hooks","exampleIds":["paths/~1import~1config~1hooks/get/responses/200/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks/get/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks/get/responses/401/content/application~1json/examples/Unauthorized"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/getvalidationhooks"}],"panels":[]}]},"httpPath":"/import/config/hooks"},{"label":"Create validation hook","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/createvalidationhook","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/createvalidationhook","metadata":{"seo":{"title":"Create validation hook","description":"Create Validation Hook"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createValidationHook","name":"Create validation hook","isWebhook":false,"pointer":"/paths/~1import~1config~1hooks/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create validation hook","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"content-import/createvalidationhook/request/create-validation-hook","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/create-validation-hook"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create Validation Hook"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createvalidationhook/request/overview","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API allows you to create custom JavaScript-based validation hooks that execute during the bulk content ingestion process. Validation hooks enable organizations to enforce specific business rules, verify metadata compliance, and perform complex data integrity checks that go beyond standard system validation."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createvalidationhook/request/usage-requirements","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/usage-requirements"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Usage Requirements"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To ensure successful hook creation and execution, please adhere to the following:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content Encoding"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileObject.file.content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" property must be a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Base64 encoded"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" string of your JavaScript logic."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"File Naming"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": The filename should use the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":".js"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" extension."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Logic Return"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Your script must return a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"result"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object containing a boolean "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"success"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" property."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Size Limit"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": The encoded content must not exceed 1.5MB."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createvalidationhook/request/hook-types","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/hook-types"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Hook Types"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pre-Validation Hooks ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"import_pre_validation_hook"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": These execute "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"before"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" the standard system validation. They are ideal for enforcing custom business rules, such as ensuring all articles contain specific metadata."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Post-Validation Hooks ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"import_post_validation_hook"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": These execute "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"after"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" the standard system validation. They have access to the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"validationResults"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from the system check, allowing you to block an import based on the severity of errors found."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createvalidationhook/request/execution-environment","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/execution-environment"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Execution Environment"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Hooks run in a secure, sandboxed JavaScript environment (ES5/ES6)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Prohibited"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": File system access ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fs"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), network access (HTTP requests), and module loading ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"require"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Supported"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Standard JavaScript logic, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"console.log()"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for debugging, and a specialized "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"helpers"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" utility library for safe data access."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createvalidationhook/request/implementation-examples","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/implementation-examples"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implementation Examples"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"level":3,"id":"content-import/createvalidationhook/request/example:-pre-validation-logic","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/example:-pre-validation-logic"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example: Pre-Validation Logic"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This example demonstrates checking that every article contains a specific metadata field."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"// Initialize result\nvar result = { success: true };\n\n// Verify data exists\nif (helpers.hasField(data, 'articles') && helpers.isNotEmpty(data.articles)) {\n  \n  var invalidArticles = [];\n  \n  for (var i = 0; i < data.articles.length; i++) {\n    var article = data.articles[i];\n    \n    if (!helpers.hasField(article, 'name')) {\n      invalidArticles.push({ index: i, issue: \"Missing name\" });\n      continue;\n    }\n\n    // Custom Rule: Check if 'description' exists in metadata\n    if (!helpers.hasField(article, 'metadata') || \n        !helpers.hasField(article.metadata, 'description') || \n        helpers.isEmpty(article.metadata.description)) {\n          \n      invalidArticles.push({ \n        name: article.name, \n        issue: \"Missing required description metadata\" \n      });\n    }\n  }\n  \n  if (invalidArticles.length > 0) {\n    result = {\n      success: false,\n      error: 'Articles failed custom metadata validation',\n      details: { count: invalidArticles.length, errors: invalidArticles }\n    };\n  }\n}\nresult;\n","language":"javascript"},"children":[{"$$mdtype":"Node","attributes":{"content":"// Initialize result\nvar result = { success: true };\n\n// Verify data exists\nif (helpers.hasField(data, 'articles') && helpers.isNotEmpty(data.articles)) {\n  \n  var invalidArticles = [];\n  \n  for (var i = 0; i < data.articles.length; i++) {\n    var article = data.articles[i];\n    \n    if (!helpers.hasField(article, 'name')) {\n      invalidArticles.push({ index: i, issue: \"Missing name\" });\n      continue;\n    }\n\n    // Custom Rule: Check if 'description' exists in metadata\n    if (!helpers.hasField(article, 'metadata') || \n        !helpers.hasField(article.metadata, 'description') || \n        helpers.isEmpty(article.metadata.description)) {\n          \n      invalidArticles.push({ \n        name: article.name, \n        issue: \"Missing required description metadata\" \n      });\n    }\n  }\n  \n  if (invalidArticles.length > 0) {\n    result = {\n      success: false,\n      error: 'Articles failed custom metadata validation',\n      details: { count: invalidArticles.length, errors: invalidArticles }\n    };\n  }\n}\nresult;\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{"level":3,"id":"content-import/createvalidationhook/request/example:-post-validation-logic","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/example:-post-validation-logic"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example: Post-Validation Logic"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This example checks the standard validation results. If there are standard errors, it logs them and fails the job explicitly."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"var result = { success: true };\n\n// Check if standard validation found errors\nif (helpers.hasField(validationResults, 'errors') && validationResults.errors.length > 0) {\n  \n  var errorCount = validationResults.errors.length;\n  console.log('Standard validation found ' + errorCount + ' errors.');\n\n  var errorTypes = {};\n  validationResults.errors.forEach(function(err) {\n    var type = err.type || 'unknown';\n    errorTypes[type] = (errorTypes[type] || 0) + 1;\n  });\n\n  result = {\n    success: false,\n    error: 'Standard validation failed with ' + errorCount + ' errors.',\n    details: {\n      summary: errorTypes,\n      firstError: validationResults.errors[0].message\n    }\n  };\n}\nresult;\n","language":"javascript"},"children":[{"$$mdtype":"Node","attributes":{"content":"var result = { success: true };\n\n// Check if standard validation found errors\nif (helpers.hasField(validationResults, 'errors') && validationResults.errors.length > 0) {\n  \n  var errorCount = validationResults.errors.length;\n  console.log('Standard validation found ' + errorCount + ' errors.');\n\n  var errorTypes = {};\n  validationResults.errors.forEach(function(err) {\n    var type = err.type || 'unknown';\n    errorTypes[type] = (errorTypes[type] || 0) + 1;\n  });\n\n  result = {\n    success: false,\n    error: 'Standard validation failed with ' + errorCount + ' errors.',\n    details: {\n      summary: errorTypes,\n      firstError: validationResults.errors[0].message\n    }\n  };\n}\nresult;\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createvalidationhook/request/further-documentation","deepLinkHash":"/content-import/createvalidationhook#content-import/createvalidationhook/request/further-documentation"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Further Documentation"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For more detailed context on available objects ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"data"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"metadata"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"helpers"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and best practices, refer to the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://apidev.egain.com/developer-portal/guides/ingestion/validation-hook-guide/#example-pre-validation-logic"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation Hook Guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Hook","exampleIds":["paths/~1import~1config~1hooks/post/requestBody/content/application~1json/examples/Post-Validation Script"]}},"schemaId":"components/schemas/Hook","exampleIds":["paths/~1import~1config~1hooks/post/requestBody/content/application~1json/examples/Post-Validation Script"],"pointer":"/paths/~1import~1config~1hooks/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/import/config/hooks","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Hook","exampleIds":["paths/~1import~1config~1hooks/post/requestBody/content/application~1json/examples/Post-Validation Script"]}},"responseCodes":["201","400"],"pointer":"/import/config/hooks","href":"content-import/createvalidationhook","openApiOperationId":"createValidationHook","summary":"Create validation hook"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/Hook","exampleIds":["paths/~1import~1config~1hooks/post/requestBody/content/application~1json/examples/Post-Validation Script"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Hook","exampleIds":["paths/~1import~1config~1hooks/post/requestBody/content/application~1json/examples/Post-Validation Script"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Hook created."},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Missing required query parameter"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Missing required query parameter"]}],"pointer":"/paths/~1import~1config~1hooks/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Missing required query parameter"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Missing required query parameter"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/createvalidationhook"}],"panels":[]}]},"httpPath":"/import/config/hooks"},{"label":"Get all versions for a validation hook","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhookversions","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhookversions","metadata":{"seo":{"title":"Get all versions for a validation hook","description":"Retrieve a history of all versions uploaded for a specific validation hook."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getValidationHookVersions","name":"Get all versions for a validation hook","isWebhook":false,"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all versions for a validation hook","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a history of all versions uploaded for a specific validation hook."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"hookID","in":"path","schemaId":"schema_4","description":"Integer ID of the Hook resource.","required":true}],"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/import/config/hooks/{hookID}/version","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"hookID","in":"path","required":true,"schemaId":"schema_4"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]}],"responseCodes":["200","404"],"pointer":"/import/config/hooks/{hookID}/version","href":"content-import/getvalidationhookversions","openApiOperationId":"getValidationHookVersions","summary":"Get all versions for a validation hook"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of hook versions.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/FileObjects","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/FileObjects","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/200/content/application~1json/example"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/404/content/application~1json/examples/Not found"]}],"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/FileObjects","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/FileObjects","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/200/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/404/content/application~1json/examples/Not found"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/getvalidationhookversions"}],"panels":[]}]},"httpPath":"/import/config/hooks/{hookID}/version"},{"label":"Update validation hook version","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/createvalidationhookversion","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/createvalidationhookversion","metadata":{"seo":{"title":"Update validation hook version","description":"Upload a new version of the JavaScript logic for an existing hook."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createValidationHookVersion","name":"Update validation hook version","isWebhook":false,"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update validation hook version","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Upload a new version of the JavaScript logic for an existing hook."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"hookID","in":"path","schemaId":"schema_4","description":"Integer ID of the Hook resource.","required":true}],"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileObject"}},"schemaId":"components/schemas/FileObject","pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/import/config/hooks/{hookID}/version","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"hookID","in":"path","required":true,"schemaId":"schema_4"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/FileObject"}},"responseCodes":["201","404"],"pointer":"/import/config/hooks/{hookID}/version","href":"content-import/createvalidationhookversion","openApiOperationId":"createValidationHookVersion","summary":"Update validation hook version"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/FileObject","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileObject"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Hook version created."},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/post/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/post/responses/404/content/application~1json/examples/Not found"]}],"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201"},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/post/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version/post/responses/404/content/application~1json/examples/Not found"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/createvalidationhookversion"}],"panels":[]}]},"httpPath":"/import/config/hooks/{hookID}/version"},{"label":"Get validation hook version details","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhookversion","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/getvalidationhookversion","metadata":{"seo":{"title":"Get validation hook version details","description":"Get details and content URL for a specific version of a hook."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getValidationHookVersion","name":"Get validation hook version details","isWebhook":false,"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get validation hook version details","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Get details and content URL for a specific version of a hook."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"hookID","in":"path","schemaId":"schema_4","description":"Integer ID of the Hook resource.","required":true},{"name":"versionID","in":"path","schemaId":"schema_4","description":"The sequential version number of the hook (e.g., 1, 2, 3).","required":true}],"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/import/config/hooks/{hookID}/version/{versionID}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"hookID","in":"path","required":true,"schemaId":"schema_4"},{"name":"versionID","in":"path","required":true,"schemaId":"schema_4"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]}],"responseCodes":["200","404"],"pointer":"/import/config/hooks/{hookID}/version/{versionID}","href":"content-import/getvalidationhookversion","openApiOperationId":"getValidationHookVersion","summary":"Get validation hook version details"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/FileObject","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/FileObject","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/200/content/application~1json/example"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/404/content/application~1json/examples/Not found"]}],"pointer":"/paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/FileObject","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/FileObject","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/200/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/404/content/application~1json/examples/Not found"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/getvalidationhookversion"}],"panels":[]}]},"httpPath":"/import/config/hooks/{hookID}/version/{versionID}"},{"label":"Get Job Status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/getimportstatus","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/getimportstatus","metadata":{"seo":{"title":"Get Job Status","description":"Get Import Job Status"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getImportStatus","name":"Get Job Status","isWebhook":false,"pointer":"/paths/~1import~1content~1{job_id}~1status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Job Status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"content-import/getimportstatus/request/get-import-job-status","deepLinkHash":"/content-import/getimportstatus#content-import/getimportstatus/request/get-import-job-status"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Import Job Status"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/getimportstatus/request/overview","deepLinkHash":"/content-import/getimportstatus#content-import/getimportstatus/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API provides real-time status information for content import and validation operations. Use this endpoint to monitor job progress, check completion status, and access detailed logs and error information."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/getimportstatus/request/status-values","deepLinkHash":"/content-import/getimportstatus#content-import/getimportstatus/request/status-values"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status Values"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Scheduled"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Job is queued and waiting for to be attempted at scheduled execution time"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In Progress"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Job is actively processing content"},"children":[],"type":"text"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If Job status is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In Progress"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" but no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"currentOperation"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is returned. Please use query parameter "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"verbose=true"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for more information."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Successful"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Job finished successfully"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Failed"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Job encountered errors and could not complete"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Cancelled"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Job was manually cancelled by user"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/getimportstatus/request/response-information","deepLinkHash":"/content-import/getimportstatus#content-import/getimportstatus/request/response-information"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Response Information"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Current Status"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Real-time job status"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Progress Metrics"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Items processed, total items, completion percentage"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Log Files"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Location of detailed operation logs"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Error Details"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Specific errors encountered during processing"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Timing Information"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Start time, estimated completion, actual completion"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/getimportstatus/request/verbose-response-information","deepLinkHash":"/content-import/getimportstatus#content-import/getimportstatus/request/verbose-response-information"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verbose Response Information"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sub-Status"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Sub-Status of Job status"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status Reason"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Reason for status, reveals information regarding status and sub-status."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/getimportstatus/request/log-file-access","deepLinkHash":"/content-import/getimportstatus#content-import/getimportstatus/request/log-file-access"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Log File Access"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Log files contain detailed information about:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content processing steps"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation results"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Error details with context"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/getimportstatus/request/import-report-access","deepLinkHash":"/content-import/getimportstatus#content-import/getimportstatus/request/import-report-access"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Import Report Access"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When the import job was created with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"includeReport=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"reportFolderLocation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" points to the generated import report. For the report's structure and contents, see the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://apidev.egain.com/developer-portal/guides/ingestion/ingestion-overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ingestion API Overview"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"job_id","in":"path","schemaId":"schema_0","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job ID Parameter"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The unique identifier for the import or validation job. This ID was returned when the job was created via the Import or Validate API."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Format:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" UUID v4 (e.g., 7A84B875-6F75-4C7B-B137-0632B62DB0BD)"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example Usage:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n","language":"bash"},"children":[{"$$mdtype":"Node","attributes":{"content":"GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n"},"children":[],"type":"text"}],"type":"fence"}],"required":true}],"pointer":"/paths/~1import~1content~1{job_id}~1status/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"verbose","in":"query","schemaId":"schema_5","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verbose Job Status Parameter"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns Job Status' Sub-Status and Status Reasoning."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1import~1content~1{job_id}~1status/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/import/content/{job_id}/status","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"job_id","in":"path","required":true,"example":"7A84B875-6F75-4C7B-B137-0632B62DB0BD","schemaId":"schema_0"}],"query":[{"name":"verbose","in":"query","required":false,"schemaId":"schema_5"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"responseCodes":["200","400","401","403","404","406","500"],"pointer":"/import/content/{job_id}/status","href":"content-import/getimportstatus","openApiOperationId":"getImportStatus","summary":"Get Job Status"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/getimportstatus/responses/200/job-status-retrieved-successfully","deepLinkHash":"/content-import/getimportstatus#content-import/getimportstatus/responses/200/job-status-retrieved-successfully"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job Status Retrieved Successfully"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The current status and progress information for the specified import or validation job."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Response Details:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Current job state (Scheduled, In Progress, Successful, Failed, Cancelled)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job Type"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Current job's type (Import or Validation)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Progress"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Number of items processed vs. total items"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Logs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Location of detailed operation logs"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Timing"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Start time and estimated completion"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Errors"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Any validation or processing errors encountered"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ImportStatus","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job with scheduled Stop Time","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Job in Progress","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report from SFTP","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Partially Completed Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/User Cancelled Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Cancelled Import Job due to being queued","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Validation Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Failed Job"]}},"schemaId":"components/schemas/ImportStatus","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job with scheduled Stop Time","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Job in Progress","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report from SFTP","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Partially Completed Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/User Cancelled Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Cancelled Import Job due to being queued","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Validation Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Failed Job"]},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Missing required query parameter"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Missing required query parameter"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/401/content/application~1json/examples/Unauthorized"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/403/content/application~1json/examples/Forbidden"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/403/content/application~1json/examples/Forbidden"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/404/content/application~1json/examples/Not found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1import~1content~1{job_id}~1status/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ImportStatus","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job with scheduled Stop Time","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Job in Progress","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report from SFTP","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Partially Completed Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/User Cancelled Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Cancelled Import Job due to being queued","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Validation Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Failed Job"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ImportStatus","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job with scheduled Stop Time","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Job in Progress","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report from SFTP","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Partially Completed Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/User Cancelled Import Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Cancelled Import Job due to being queued","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Validation Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job","paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Failed Job"]}}},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Missing required query parameter"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Missing required query parameter"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/401/content/application~1json/examples/Unauthorized"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/403/content/application~1json/examples/Forbidden"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/403/content/application~1json/examples/Forbidden"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/404/content/application~1json/examples/Not found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1status/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/getimportstatus"}],"panels":[]}]},"httpPath":"/import/content/{job_id}/status"},{"label":"Create Validation Job","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/createimportvalidationjob","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/createimportvalidationjob","metadata":{"seo":{"title":"Create Validation Job","description":"Validate Import Content"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createImportValidationJob","name":"Create Validation Job","isWebhook":false,"pointer":"/paths/~1import~1content~1validate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Validation Job","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"content-import/createimportvalidationjob/request/validate-import-content","deepLinkHash":"/content-import/createimportvalidationjob#content-import/createimportvalidationjob/request/validate-import-content"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validate Import Content"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportvalidationjob/request/overview","deepLinkHash":"/content-import/createimportvalidationjob#content-import/createimportvalidationjob/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API enables users to validate content structure, format, and compliance before importing it into the production knowledge base. Validation is a non-destructive operation that checks content without making any changes to your existing data."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportvalidationjob/request/what-validation-checks","deepLinkHash":"/content-import/createimportvalidationjob#content-import/createimportvalidationjob/request/what-validation-checks"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"What Validation Checks"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content Structure"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Verifies required fields and data types"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Format Compliance"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Ensures content meets platform requirements"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Language Support"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Validates content against supported languages"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Metadata Mapping"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Checks field mappings and transformations"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Business Rules"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Validates against department-specific rules"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportvalidationjob/request/validation-benefits","deepLinkHash":"/content-import/createimportvalidationjob#content-import/createimportvalidationjob/request/validation-benefits"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation Benefits"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Risk Mitigation"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Identify issues before affecting production data"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Quality Assurance"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Ensure content meets organizational standards"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Cost Savings"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Avoid failed imports that waste processing time"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Compliance"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Meet regulatory and internal content requirements"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportvalidationjob/request/validation-process","deepLinkHash":"/content-import/createimportvalidationjob#content-import/createimportvalidationjob/request/validation-process"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation Process"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content Analysis"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": System analyzes content structure and format"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Rule Validation"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Applies business rules and validation logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Quality Assessment"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Evaluates content quality and completeness"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Report Generation"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Creates detailed validation report"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Issue Categorization"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Classifies issues by severity and type"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportvalidationjob/request/common-validation-issues","deepLinkHash":"/content-import/createimportvalidationjob#content-import/createimportvalidationjob/request/common-validation-issues"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Common Validation Issues"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Missing Required Fields"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Title, description, category, etc."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Invalid Data Types"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Incorrect field formats (dates, numbers, etc.)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Language Mismatches"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Content language not supported by department"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportvalidationjob/request/best-practices","deepLinkHash":"/content-import/createimportvalidationjob#content-import/createimportvalidationjob/request/best-practices"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always Validate First"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Run validation before any import operation"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Review Reports"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Carefully examine validation results and warnings"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Fix Issues"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Address validation errors before proceeding with import"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Test Small Batches"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Validate with small content samples first"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Iterate"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use validation feedback to improve content quality"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ValidateImportContent","exampleIds":["paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/S3 content validation","paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/SFTP content validation"]}},"schemaId":"components/schemas/ValidateImportContent","exampleIds":["paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/S3 content validation","paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/SFTP content validation"],"pointer":"/paths/~1import~1content~1validate/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/import/content/validate","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/ValidateImportContent","exampleIds":["paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/S3 content validation","paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/SFTP content validation"]}},"responseCodes":["202","400","401","403","406","412","500"],"pointer":"/import/content/validate","href":"content-import/createimportvalidationjob","openApiOperationId":"createImportValidationJob","summary":"Create Validation Job"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/ValidateImportContent","exampleIds":["paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/S3 content validation","paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/SFTP content validation"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ValidateImportContent","exampleIds":["paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/S3 content validation","paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/SFTP content validation"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":[{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/createimportvalidationjob/responses/202/validation-job-accepted","deepLinkHash":"/content-import/createimportvalidationjob#content-import/createimportvalidationjob/responses/202/validation-job-accepted"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation Job Accepted"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The content validation job has been successfully created and queued for processing. The system will analyze your content structure, format, and compliance without making any changes to your existing data."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation Process:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content Analysis"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": System examines content structure and format"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Rule Validation"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Applies business rules and validation logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Quality Assessment"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Evaluates content quality and completeness"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Report Generation"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Creates detailed validation report with issues and recommendations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Expected Processing Time:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Small content sets (< 1,000 items): 2-10 minutes"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Medium content sets (1,000-10,000 items): 10-30 minutes"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Large content sets (> 10,000 items): 30-90 minutes"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Next Steps:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use the returned job ID to monitor validation progress"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Review validation results and address any issues"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Proceed with import only after validation passes"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"headers":{"location":{"schema":{"type":"string","example":"/knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status"},"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Location Header"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This header contains the URL to check the status of your validation job. The job ID (7A84B875-6F75-4C7B-B137-0632B62DB0BD in this example) is your unique identifier for tracking this operation."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Usage:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"GET /knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n","language":"bash"},"children":[{"$$mdtype":"Node","attributes":{"content":"GET /knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n"},"children":[],"type":"text"}],"type":"fence"}]}},"headerSchemaId":"schema_6"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Missing required query parameter"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Missing required query parameter"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/401/content/application~1json/examples/Unauthorized"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"412","description":"Preconditions failed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/412/content/application~1json/examples/precondition failed"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/412/content/application~1json/examples/precondition failed"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1import~1content~1validate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Missing required query parameter"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Invalid Value","paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Missing required query parameter"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/401/content/application~1json/examples/Unauthorized"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"412","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/412/content/application~1json/examples/precondition failed"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/412/content/application~1json/examples/precondition failed"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1validate/post/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/createimportvalidationjob"}],"panels":[]}]},"httpPath":"/import/content/validate"},{"label":"Cancel Job","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/cancelimport","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/content-import/cancelimport","metadata":{"seo":{"title":"Cancel Job","description":"Cancel Import or Validation Job"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"cancelImport","name":"Cancel Job","isWebhook":false,"pointer":"/paths/~1import~1content~1{job_id}~1cancel/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel Job","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"content-import/cancelimport/request/cancel-import-or-validation-job","deepLinkHash":"/content-import/cancelimport#content-import/cancelimport/request/cancel-import-or-validation-job"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Cancel Import or Validation Job"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/cancelimport/request/overview","deepLinkHash":"/content-import/cancelimport#content-import/cancelimport/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API allows users to cancel import or validation operations that are currently in progress or scheduled for future execution. Cancellation is immediate for scheduled jobs and graceful for running jobs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/cancelimport/request/cancellation-behavior","deepLinkHash":"/content-import/cancelimport#content-import/cancelimport/request/cancellation-behavior"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Cancellation Behavior"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Scheduled Jobs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Immediate cancellation, no processing occurs"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"In Progress Jobs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Graceful shutdown, current item completes, no new items start"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Successful Jobs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Cannot be cancelled (returns error)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Failed Jobs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Cannot be cancelled (already stopped)"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/cancelimport/request/when-to-cancel","deepLinkHash":"/content-import/cancelimport#content-import/cancelimport/request/when-to-cancel"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When to Cancel"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content Issues"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Discover problems with source content"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Timing Changes"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Need to reschedule for different time"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Resource Constraints"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": System resources are needed elsewhere"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Manual cancellation by authorized users"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"System Maintenance"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Planned maintenance windows"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/cancelimport/request/cancellation-process","deepLinkHash":"/content-import/cancelimport#content-import/cancelimport/request/cancellation-process"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Cancellation Process"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request Received"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": System receives cancellation request"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status Check"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Verifies current job status"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Graceful Shutdown"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": For running jobs, completes current item"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Resource Cleanup"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Releases allocated system resources"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status Update"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Marks job as cancelled"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Notification"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Updates job status and logs"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/cancelimport/request/post-cancellation","deepLinkHash":"/content-import/cancelimport#content-import/cancelimport/request/post-cancellation"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Post-Cancellation"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job Status"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Changes to \"Cancelled\""},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Partial Results"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Any completed items remain in system"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Logs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Cancellation reason and timing recorded"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Resources"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": System resources freed for other operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"content-import/cancelimport/request/best-practices","deepLinkHash":"/content-import/cancelimport#content-import/cancelimport/request/best-practices"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor Jobs"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Regularly check job status to identify candidates for cancellation"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Plan Cancellations"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Schedule cancellations during low-usage periods"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Resource Planning"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Consider resource impact before cancelling large jobs"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"job_id","in":"path","schemaId":"schema_0","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Job ID Parameter"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The unique identifier for the import or validation job. This ID was returned when the job was created via the Import or Validate API."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Format:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" UUID v4 (e.g., 7A84B875-6F75-4C7B-B137-0632B62DB0BD)"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Example Usage:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n","language":"bash"},"children":[{"$$mdtype":"Node","attributes":{"content":"GET /import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n"},"children":[],"type":"text"}],"type":"fence"}],"required":true}],"pointer":"/paths/~1import~1content~1{job_id}~1cancel/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/import/content/{job_id}/cancel","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"job_id","in":"path","required":true,"example":"7A84B875-6F75-4C7B-B137-0632B62DB0BD","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"responseCodes":["204","401","403","404","406","409","500"],"pointer":"/import/content/{job_id}/cancel","href":"content-import/cancelimport","openApiOperationId":"cancelImport","summary":"Cancel Job"},"isWebhook":false,"hideReplay":true,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No content"},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/401/content/application~1json/examples/Unauthorized"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/403/content/application~1json/examples/Forbidden"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/403/content/application~1json/examples/Forbidden"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/404/content/application~1json/examples/Not found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":"Conflict. The job is not in a state that can be cancelled (e.g., it has already completed or failed)."},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1import~1content~1{job_id}~1cancel/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/401/content/application~1json/examples/Unauthorized"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/403/content/application~1json/examples/Forbidden"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/403/content/application~1json/examples/Forbidden"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/404/content/application~1json/examples/Not found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409"},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1import~1content~1{job_id}~1cancel/post/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/content-import/cancelimport"}],"panels":[]}]},"httpPath":"/import/content/{job_id}/cancel"}],"content":{"contentType":"group","meta":{"name":"Content Import"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Content Import","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content import and validation operations for bulk knowledge content management."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"These APIs enable you to:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Import content from Data Sources"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validate content structure and format before import"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Add custom hooks before or after validation"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor import progress and access detailed logs"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Schedule imports for optimal timing"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Cancel ongoing operations when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Supported Data Sources:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Amazon S3 buckets"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SFTP Servers"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Supported Content Formats:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Content needs to be in this format: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://apidev.egain.com/developer-portal/guides/ingestion/data-import-format-guide/"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Guide to Data Import Format"},"children":[],"type":"text"}],"type":"link"}],"type":"item"}],"type":"list"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/import/content/{job_id}/pause","summary":"Pause Job","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-import/pauseimportjob","deprecated":false},{"title":"/import/content/{job_id}/resume","summary":"Resume Job","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-import/resumeimportjob","deprecated":false},{"title":"/import/content","summary":"Create Import Job","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-import/createimportjob","deprecated":false},{"title":"/import/config/hooks","summary":"Get validation hooks","prefix":{"name":"get","color":"get"},"badges":[],"link":"/content-import/getvalidationhooks","deprecated":false},{"title":"/import/config/hooks","summary":"Create validation hook","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-import/createvalidationhook","deprecated":false},{"title":"/import/config/hooks/{hookID}/version","summary":"Get all versions for a validation hook","prefix":{"name":"get","color":"get"},"badges":[],"link":"/content-import/getvalidationhookversions","deprecated":false},{"title":"/import/config/hooks/{hookID}/version","summary":"Update validation hook version","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-import/createvalidationhookversion","deprecated":false},{"title":"/import/config/hooks/{hookID}/version/{versionID}","summary":"Get validation hook version details","prefix":{"name":"get","color":"get"},"badges":[],"link":"/content-import/getvalidationhookversion","deprecated":false},{"title":"/import/content/{job_id}/status","summary":"Get Job Status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/content-import/getimportstatus","deprecated":false},{"title":"/import/content/validate","summary":"Create Validation Job","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-import/createimportvalidationjob","deprecated":false},{"title":"/import/content/{job_id}/cancel","summary":"Cancel Job","prefix":{"name":"post","color":"post"},"badges":[],"link":"/content-import/cancelimport","deprecated":false}]}]}]}]}},{"type":"group","label":"Articles","link":"/apis/v4/knowledge/contentmgr/api-bundled/articles","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/articles","items":[{"label":"Get An Article By Id With Content","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/articles/getarticlewithcontent","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/articles/getarticlewithcontent","metadata":{"seo":{"title":"Get An Article By Id With Content","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getArticleWithContent","name":"Get An Article By Id With Content","isWebhook":false,"pointer":"/paths/~1article~1{articleID}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get An Article By Id With Content","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/getarticlewithcontent/request/overview","deepLinkHash":"/articles/getarticlewithcontent#articles/getarticlewithcontent/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API retrieves a single article or an article suggestion by its ID in a single language."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The response always includes the article summary representation; additional article properties are returned"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"only when requested through the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"articleAdditionalAttributes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" query parameter."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use the required "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" query parameter to control which article version is returned. If"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the latest published and available version of the requested article is returned."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"latest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the latest version of the article is returned, which might be draft, published"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"etc. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"latest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":":"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the article is checked out by another user, the latest checked-in version is returned."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the article is checked out by the requesting user, the checked-out version is returned."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Article suggestions cannot be published and therefore cannot be retrieved with"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector=published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector=latest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to retrieve article suggestions."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the requested article ID exists but has no applicable version, the API returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"204 No Content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Some properties in the response schema are shown as allowing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", because "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is how the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/editarticle"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" API removes"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"them. This API does not return "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for those properties — a property that has no value is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"omitted from the response."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":3,"id":"articles/getarticlewithcontent/request/inline-images","deepLinkHash":"/articles/getarticlewithcontent#articles/getarticlewithcontent/request/inline-images"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"An image embedded in the article content is returned as a tag carrying a generated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and a signed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"src"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", with the attributes it was authored with preserved:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"<img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" src=\"https://api.egain.cloud/core/filemgr/v4/assets/download?signature=35674B764E7848586E786...\" alt=\"Forgot password link\" width=\"480\" />\n","language":"html"},"children":[{"$$mdtype":"Node","attributes":{"content":"<img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" src=\"https://api.egain.cloud/core/filemgr/v4/assets/download?signature=35674B764E7848586E786...\" alt=\"Forgot password link\" width=\"480\" />\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"src"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" can be fetched directly, including by a browser rendering the tag."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The signature in the image source URL is valid for 30 minutes. Once it expires, obtain a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fresh URL from the File Manager"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/core/filemgr/api-bundled/storageservice/generatefilepredownloadurl"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Generate URL to download a file"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API, sending the image's "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"application"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and this article's"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ID as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"articleId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images are never listed in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions[].attachments"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". That array carries only the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"files attached to the version; an embedded image appears in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" alone."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To change the article's inline images, send the content back through"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/editarticle"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"keeps an image by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", adds one by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and removes one when its tag is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"dropped."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/getarticlewithcontent/request/permissions","deepLinkHash":"/articles/getarticlewithcontent#articles/getarticlewithcontent/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To retrieve an article, the requesting user must have "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on the article's parent folder."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To retrieve an article suggestion, the user must either be the creator of the suggestion or"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"be allowed to work on the suggestion through the article approval process."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]},{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"articleID","in":"path","schemaId":"schema_7","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The ID of the Article."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"An Article ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1article~1{articleID}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"versionSelector","in":"query","schemaId":"schema_8","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Controls which version of the article to return based on its position in the article workflow process. If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the latest published and available version is returned. If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"latest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the very latest version is returned which might be draft, published etc."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the article is retrieved.\nMust be one of the enabled Knowledge Base languages.\n","required":true},{"name":"articleAdditionalAttributes","in":"query","style":"form","explode":false,"schemaId":"schema_10","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Additional Article attributes to include in the response. By default only attributes marked"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"as required in the response schema are returned. Multiple attributes can be requested as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"comma-separated list of values."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Article-level attributes are requested directly by name, such as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"department"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"notes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Version-level attributes are prefixed with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":["versions.content","versions.attachments","notes"]},{"name":"expandMacros","in":"query","schemaId":"schema_5","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Controls whether macros embedded in the article content are expanded in the response."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and the article content is requested through"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"articleAdditionalAttributes=versions.content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", all macros in the returned article content"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"are expanded. If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the article content is returned with the macros unexpanded."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This parameter has no effect when the article content is not requested."},"children":[],"type":"text"}],"type":"paragraph"}],"example":true}],"pointer":"/paths/~1article~1{articleID}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept","in":"header","schemaId":"schema_11","description":"The content type accepted by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1article~1{articleID}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/article/{articleID}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"articleID","in":"path","required":true,"example":"PROD-2996","schemaId":"schema_7"}],"query":[{"name":"versionSelector","in":"query","required":true,"schemaId":"schema_8"},{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"},{"name":"articleAdditionalAttributes","in":"query","required":false,"example":["versions.content","versions.attachments","notes"],"schemaId":"schema_10","style":"form","explode":false},{"name":"expandMacros","in":"query","required":false,"example":true,"schemaId":"schema_5"}],"querystring":[],"header":[{"name":"Accept","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]},{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"responseCodes":["200","204","400","401","403","404","406","429","500"],"pointer":"/article/{articleID}","href":"articles/getarticlewithcontent","openApiOperationId":"getArticleWithContent","summary":"Get An Article By Id With Content","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]},{"oAuthClient":["https://api.egain.cloud/auth/.default"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetArticleWithContent","exampleIds":["paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/Summary attributes for published article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for draft article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for published article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"]}},"schemaId":"components/schemas/GetArticleWithContent","exampleIds":["paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/Summary attributes for published article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for draft article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for published article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"],"headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"204","description":"No content"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1article~1{articleID}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetArticleWithContent","exampleIds":["paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/Summary attributes for published article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for draft article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for published article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetArticleWithContent","exampleIds":["paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/Summary attributes for published article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for draft article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for published article","paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"]}}},{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1article~1{articleID}/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/articles/getarticlewithcontent"}],"panels":[]}]},"httpPath":"/article/{articleID}"},{"label":"Get Articles By Ids","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/articles/getarticlesbyids","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/articles/getarticlesbyids","metadata":{"seo":{"title":"Get Articles By Ids","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getArticlesByIds","name":"Get Articles By Ids","isWebhook":false,"pointer":"/paths/~1articles~1{articleIDs}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Articles By Ids","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/getarticlesbyids/request/overview","deepLinkHash":"/articles/getarticlesbyids#articles/getarticlesbyids/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API retrieves one or more articles or article suggestions by their IDs in a single language."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The response always includes the article summary representation for each returned article; additional"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"article properties are returned only when requested through the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"articleAdditionalAttributes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"query parameter."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API never returns article body "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Use the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/getarticlewithcontent"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get An Article By Id With Content"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" API when article"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content is needed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"p","attrs":{}},"children":[],"type":"tag","tag":"html"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use the required "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" query parameter to control which article version is returned. If"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the latest published and available version of each requested article is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returned. If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"latest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the latest version of each requested article is returned, which"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"might be draft, published etc."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"latest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":":"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If an article is checked out by another user, the latest checked-in version is returned."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If an article is checked out by the requesting user, the checked-out version is returned."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Article suggestions cannot be published and therefore cannot be retrieved with"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector=published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector=latest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to retrieve article suggestions."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Article IDs must be provided as a comma-separated list in the request URI. Results are paginated"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"using "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$pagenum"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$pagesize"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API can return fewer articles than were requested. For example, if "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versionSelector=published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", any"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requested article that does not have a published and available version is omitted from the response."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If none of the requested articles has an applicable version, the API returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"204 No Content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Some properties in the response schema are shown as allowing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", because "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is how the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/editarticle"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" API removes"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"them. This API does not return "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for those properties — a property that has no value is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"omitted from the response."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/getarticlesbyids/request/permissions","deepLinkHash":"/articles/getarticlesbyids#articles/getarticlesbyids/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For articles: the user must have "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on each article's parent folder."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For article suggestions: the user must either be the suggestion's creator or be allowed to work"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on the suggestion through the article approval process."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If any requested article fails the permission check, the entire request is rejected."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]},{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"articleIDs","in":"path","schemaId":"schema_14","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"One or more article IDs, separated by commas. Each article ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Maximum of 75 article IDs allowed."},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1articles~1{articleIDs}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"versionSelector","in":"query","schemaId":"schema_8","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Controls which version of the article to return based on its position in the article workflow process. If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the latest published and available version is returned. If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"latest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the very latest version is returned which might be draft, published etc."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the articles are retrieved.\nMust be one of the enabled Knowledge Base languages.\n","required":true},{"name":"articleAdditionalAttributes","in":"query","style":"form","explode":false,"schemaId":"schema_15","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Additional Article attributes to include in the response. By default only attributes marked"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"as required in the response schema are returned. Multiple attributes can be requested as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"comma-separated list of values."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Article-level attributes are requested directly by name, such as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"department"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"notes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Version-level attributes are prefixed with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions.content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" attribute is not supported on this API. Use the single-article"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /article/{articleID}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" API when article content is needed."},"children":[],"type":"text"}],"type":"paragraph"}],"example":["versions.attachments","versions.summary","notes"]},{"name":"$pagenum","in":"query","schemaId":"schema_16","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$pagesize","in":"query","schemaId":"schema_17","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1articles~1{articleIDs}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept","in":"header","schemaId":"schema_11","description":"The content type accepted by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1articles~1{articleIDs}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/articles/{articleIDs}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"articleIDs","in":"path","required":true,"example":"PROD-2268,PROD-2269","schemaId":"schema_14"}],"query":[{"name":"versionSelector","in":"query","required":true,"schemaId":"schema_8"},{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"},{"name":"articleAdditionalAttributes","in":"query","required":false,"example":["versions.attachments","versions.summary","notes"],"schemaId":"schema_15","style":"form","explode":false},{"name":"$pagenum","in":"query","required":false,"schemaId":"schema_16"},{"name":"$pagesize","in":"query","required":false,"schemaId":"schema_17"}],"querystring":[],"header":[{"name":"Accept","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]},{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"responseCodes":["200","204","400","401","403","404","406","429","500"],"pointer":"/articles/{articleIDs}","href":"articles/getarticlesbyids","openApiOperationId":"getArticlesByIds","summary":"Get Articles By Ids","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]},{"oAuthClient":["https://api.egain.cloud/auth/.default"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Articles","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/Summary attributes for published articles","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for draft article","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for published article","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"]}},"schemaId":"components/schemas/Articles","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/Summary attributes for published articles","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for draft article","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for published article","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"]},{"code":"204","description":"No content"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1articles~1{articleIDs}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Articles","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/Summary attributes for published articles","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for draft article","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for published article","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Articles","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/Summary attributes for published articles","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for draft article","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for published article","paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"]}}},{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/articles/getarticlesbyids"}],"panels":[]}]},"httpPath":"/articles/{articleIDs}"},{"label":"Edit Article","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/articles/editarticle","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/articles/editarticle","metadata":{"seo":{"title":"Edit Article","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"editArticle","name":"Edit Article","isWebhook":false,"pointer":"/paths/~1articles~1{articleIDs}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Edit Article","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/editarticle/request/overview","deepLinkHash":"/articles/editarticle#articles/editarticle/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API allows a user to edit details of a single article."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"To specify whether you are editing, checking in, or publishing the article,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"use the required "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" query parameter."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":3,"id":"articles/editarticle/request/removing-values-and-editing-collections","deepLinkHash":"/articles/editarticle#articles/editarticle/request/removing-values-and-editing-collections"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Removing values and editing collections"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A property omitted from the request is left unchanged. To remove a value, send it"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"explicitly in the form that matches its type:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Strings"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — send an empty string ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). For example, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"summary\": \"\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" clears the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"version summary."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Objects"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". For example, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"compliancePolicy\": null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" unassigns the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"compliance policy from the article. An object is removed as a whole; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"{}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is not a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"removal form and is treated as an object with no properties supplied."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Arrays"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — the supplied array replaces the current one in full; there is no partial"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"add or remove. To drop two entries and add one, send the complete list as it should"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"read after the edit. To clear an array, send an empty array ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Dates and numbers"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". There is no empty date or empty number, so "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"not accepted. For example, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"expirationDate\": null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" clears the expiration date."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"These rules apply at every level of the request body. Within an object supplied for"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"update, its own properties follow the same rules: those omitted are left unchanged, and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"those sent as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are removed. For example,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"macro\": { \"defaultValue\": \"\" }"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" clears the macro's default value and leaves the rest of"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the macro unchanged."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"links"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unlinks"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are the exception to the array rule. They do not replace a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"collection; they describe resource associations to add and to remove — for example,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"topics and related articles."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Not every property can be removed. Some must always hold a value — such as"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions.name"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions.articleType"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions.ownedBy"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions.availabilityDate"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — and sending "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for them is rejected instead of"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"clearing the value. Read-only properties cannot be sent at all."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":3,"id":"articles/editarticle/request/inline-images","deepLinkHash":"/articles/editarticle#articles/editarticle/request/inline-images"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is authoritative for the version's inline images. Send it as the article should"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"read after the edit — images to keep, images to add, and no tag for images to drop."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Keep an existing image"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" by leaving its tag as"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/getarticlewithcontent"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returned it. The server resolves the image from "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" alone and never reads "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"src"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", so"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"src"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" can be omitted and a signature that has since expired is not a problem."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Add a new image"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" exactly as in"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/createarticle"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" —"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pre-upload it with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"application"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isInline"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", then put"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the returned "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the tag."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Remove an image"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" by dropping its tag. An inline image whose tag is not present in the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"submitted "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is removed from the version."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"content":"<img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" alt=\"Forgot password link\" width=\"480\" />\n<img fileUploadId=\"c1f0a3d2-9b47-4e15-8a6c-2d7e5f4b8091\" alt=\"Reset confirmation\" width=\"480\" />\n","language":"html"},"children":[{"$$mdtype":"Node","attributes":{"content":"<img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" alt=\"Forgot password link\" width=\"480\" />\n<img fileUploadId=\"c1f0a3d2-9b47-4e15-8a6c-2d7e5f4b8091\" alt=\"Reset confirmation\" width=\"480\" />\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A tag must not carry both "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Sending both is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"An "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" that does not exist, or that belongs to a different article or version, is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and no change is saved."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images are never listed in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"attachments"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The two are separate uploads,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"distinguished by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isInline"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" at pre-upload time, and are managed independently."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Omitting "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" leaves the current content, and with it the current inline images,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unchanged."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each newly added image is stored and its tag rewritten into the hosted form, so the next"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Article returns it with a generated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and a signed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"src"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", alongside the images that"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"were kept."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/editarticle/request/permissions","deepLinkHash":"/articles/editarticle#articles/editarticle/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If article is being edited using any operation"},"children":[],"type":"text"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User must have "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on the parent folder."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If related article links or unlinks are supplied with the request, the user must have"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on the parent folder for each of the related articles."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"checkin"},"children":[],"type":"code"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the article is not in the draft stage, the user must be a contributor of the current article stage."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"publish"},"children":[],"type":"code"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The requesting user must be allowed by this article's workflow to move the article"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" stage."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/editarticle/request/preconditions","deepLinkHash":"/articles/editarticle#articles/editarticle/request/preconditions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Preconditions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Article must have been "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"__"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"checked out"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" by the requesting user."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is included, the article version being edited is always the latest version."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/editarticle/request/conflicts","deepLinkHash":"/articles/editarticle#articles/editarticle/request/conflicts"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Conflicts"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The article name ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions[].name"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") must be unique among articles of the same language in"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the same folder. Renaming the article in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$lang"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" language, including translating its"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"name, to a name already used by another article in that folder and language is rejected"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The same name in a different language is not a conflict."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"articleIDs","in":"path","schemaId":"schema_7","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The ID of a single Article."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"An Article ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1articles~1{articleIDs}/patch/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"operation","in":"query","schemaId":"schema_18","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The article authoring operation to perform."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"edit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — edit article content and metadata. The request body must include at least"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"one writable property."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"checkin"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — check in the article, optionally with edits. Send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"{}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to check in without"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changing any fields."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"publish"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — publish the article, optionally with edits. Send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"{}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to publish without"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"changing any fields."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"required":true},{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the article is being edited. Must be one of the enabled Knowledge Base languages.","required":true}],"pointer":"/paths/~1articles~1{articleIDs}/patch/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"If-Match","in":"header","schemaId":"schema_19","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag value from a prior response; the server rejects the request with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"412"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if the resource has changed."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"Content-Type","in":"header","schemaId":"schema_11","description":"The media type sent by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1articles~1{articleIDs}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EditArticle","exampleIds":["paths/~1articles~1{articleIDs}/patch/requestBody/content/application~1json/examples/All writable attributes"]}},"schemaId":"components/schemas/EditArticle","exampleIds":["paths/~1articles~1{articleIDs}/patch/requestBody/content/application~1json/examples/All writable attributes"],"pointer":"/paths/~1articles~1{articleIDs}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/articles/{articleIDs}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"articleIDs","in":"path","required":true,"example":"PROD-2996","schemaId":"schema_7"}],"query":[{"name":"operation","in":"query","required":true,"example":"edit","schemaId":"schema_18"},{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"}],"querystring":[],"header":[{"name":"If-Match","in":"header","required":true,"example":"2026-04-15T09:00:00.000Z","schemaId":"schema_19"},{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/EditArticle","exampleIds":["paths/~1articles~1{articleIDs}/patch/requestBody/content/application~1json/examples/All writable attributes"]}},"responseCodes":["204","400","401","403","404","406","409","412","429","500"],"pointer":"/articles/{articleIDs}","href":"articles/editarticle","openApiOperationId":"editArticle","summary":"Edit Article","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/EditArticle","exampleIds":["paths/~1articles~1{articleIDs}/patch/requestBody/content/application~1json/examples/All writable attributes"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EditArticle","exampleIds":["paths/~1articles~1{articleIDs}/patch/requestBody/content/application~1json/examples/All writable attributes"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content","headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":"Conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]},{"code":"412","description":"Preconditions failed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/412/content/application~1json/examples/ETag mismatch"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/412/content/application~1json/examples/ETag mismatch"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1articles~1{articleIDs}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/409/content/application~1json/examples/duplicate name"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]}}},{"code":"412","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/412/content/application~1json/examples/ETag mismatch"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/412/content/application~1json/examples/ETag mismatch"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/articles/editarticle"}],"panels":[]}]},"httpPath":"/articles/{articleIDs}"},{"label":"Checkout Article","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/articles/checkoutarticle","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/articles/checkoutarticle","metadata":{"seo":{"title":"Checkout Article","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"checkoutArticle","name":"Checkout Article","isWebhook":false,"pointer":"/paths/~1articles~1{articleIDs}~1checkout/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Checkout Article","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/checkoutarticle/request/overview","deepLinkHash":"/articles/checkoutarticle#articles/checkoutarticle/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API allows a user to check out an article."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"This creates a new version of the article in the requested knowledge base language, in a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"checked-out state, and locks it to the requesting user. Only the user who holds the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"lock can edit the article through the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/editarticle"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" API. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"p","attrs":{}},"children":[],"type":"tag","tag":"html"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API is not for suggestions."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/checkoutarticle/request/permissions","deepLinkHash":"/articles/checkoutarticle#articles/checkoutarticle/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on the parent folder."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the article is not in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"draft"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" stage (in the article review workflow),"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the user must be a contributor of the current article stage."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/checkoutarticle/request/preconditions","deepLinkHash":"/articles/checkoutarticle#articles/checkoutarticle/request/preconditions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Preconditions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The latest version of the article in the language specified by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$lang"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must not"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"already have been checked out (locked). Only one user may hold the lock for an article"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"at a time."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"articleIDs","in":"path","schemaId":"schema_7","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The ID of a single Article."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"An Article ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1articles~1{articleIDs}~1checkout/put/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the new version is being checked out. Must be one of the enabled Knowledge Base languages.","required":true}],"pointer":"/paths/~1articles~1{articleIDs}~1checkout/put/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1articles~1{articleIDs}~1checkout/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/articles/{articleIDs}/checkout","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"articleIDs","in":"path","required":true,"example":"PROD-2996","schemaId":"schema_7"}],"query":[{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"responseCodes":["204","400","401","403","404","406","409","429","500"],"pointer":"/articles/{articleIDs}/checkout","href":"articles/checkoutarticle","openApiOperationId":"checkoutArticle","summary":"Checkout Article","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content","headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Conflict. The article is already checked out (locked) by a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"different"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" user. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"This is not returned when the requesting user already holds the lock: in that case"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the operation is idempotent and succeeds with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"204 No Content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" without changing the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"article's state."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/409/content/application~1json/examples/article already checked out"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/409/content/application~1json/examples/article already checked out"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1articles~1{articleIDs}~1checkout/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/409/content/application~1json/examples/article already checked out"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/409/content/application~1json/examples/article already checked out"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles~1{articleIDs}~1checkout/put/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/articles/checkoutarticle"}],"panels":[]}]},"httpPath":"/articles/{articleIDs}/checkout"},{"label":"Create Article","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/articles/createarticle","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/articles/createarticle","metadata":{"seo":{"title":"Create Article","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createArticle","name":"Create Article","isWebhook":false,"pointer":"/paths/~1articles/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Article","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/createarticle/request/overview","deepLinkHash":"/articles/createarticle#articles/createarticle/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API allows a user to create an article in a folder. The article is created in every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"enabled knowledge base language. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"language"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the request body is the source language,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"in which the supplied content is authored."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Newly created articles are created in the checked-out (locked) state."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This operation is not for suggestions."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Some properties in the request schema are shown as allowing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", because "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is how"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/editarticle"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" API"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"removes them. On create there is nothing to remove, so sending "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is unnecessary"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and equivalent to omitting the property."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":3,"id":"articles/createarticle/request/inline-images","deepLinkHash":"/articles/createarticle#articles/createarticle/request/inline-images"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"An image embedded in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is uploaded before the article is created, through the same"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pre-upload flow as an attachment. Pre-upload it with the File Manager"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/core/filemgr/api-bundled/storageservice/generatefilepreuploadurl"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Generate URL to upload a file"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API, with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"application"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isInline"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Send the image bytes"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to the returned "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"uploadUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", then place the returned "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" as an attribute on the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"HTML tag that renders the image — for example, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<img>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":":"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"<img fileUploadId=\"c1f0a3d2-9b47-4e15-8a6c-2d7e5f4b8091\" alt=\"Forgot password link\" width=\"480\" />\n","language":"html"},"children":[{"$$mdtype":"Node","attributes":{"content":"<img fileUploadId=\"c1f0a3d2-9b47-4e15-8a6c-2d7e5f4b8091\" alt=\"Forgot password link\" width=\"480\" />\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" attribute is what the server resolves; the tag carrying it is not"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"constrained. Whichever tag the content uses for images — for example, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<img>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<picture>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — is accepted and stored as sent."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is the only attribute the server resolves the image from. Don't send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"src"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"alongside it as it will be ignored."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Every other attribute on the tag, such as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"alt"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"width"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"height"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"style"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"class"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"is preserved."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The same "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" can be referenced by more than one tag; each resolves to the same"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"stored image."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" that is unknown, expired, or was pre-uploaded with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isInline"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set to"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and the article is not created."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images and attachments are separate uploads. An image pre-uploaded with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isInline"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" belongs in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" only and must not be listed in"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions[].attachments"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; a file pre-uploaded with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isInline"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" belongs in"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions[].attachments"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" only."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" attribute is interpreted in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions[].content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" only. In any other"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"property it is stored as ordinary text."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The server stores the image and rewrites the tag into its hosted form, replacing"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with a generated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and a signed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"src"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and carrying the other attributes"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"through. The tag name itself is unchanged. For the tag above,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/contentmgr/api-bundled/articles/getarticlewithcontent"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Article"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"<img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" src=\"https://api.egain.cloud/core/filemgr/v4/assets/download?signature=35674B764E7848586E786...\" alt=\"Forgot password link\" width=\"480\" />\n","language":"html"},"children":[{"$$mdtype":"Node","attributes":{"content":"<img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" src=\"https://api.egain.cloud/core/filemgr/v4/assets/download?signature=35674B764E7848586E786...\" alt=\"Forgot password link\" width=\"480\" />\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/createarticle/request/permissions","deepLinkHash":"/articles/createarticle#articles/createarticle/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create Article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create Article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on the article's parent folder."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If related article links are supplied in the request, the user must have"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on each of the related article's parent folder."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"articles/createarticle/request/conflicts","deepLinkHash":"/articles/createarticle#articles/createarticle/request/conflicts"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Conflicts"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The article name ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions[].name"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") must be unique among articles of the same language"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"in the same folder. The article is created in every enabled knowledge base language, so a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"name already used by another article in that folder in any of those languages is rejected"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_11","description":"The media type sent by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1articles/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateArticle","exampleIds":["paths/~1articles/post/requestBody/content/application~1json/examples/All writable attributes"]}},"schemaId":"components/schemas/CreateArticle","exampleIds":["paths/~1articles/post/requestBody/content/application~1json/examples/All writable attributes"],"pointer":"/paths/~1articles/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/articles","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateArticle","exampleIds":["paths/~1articles/post/requestBody/content/application~1json/examples/All writable attributes"]}},"responseCodes":["201","400","401","403","406","409","429","500"],"pointer":"/articles","href":"articles/createarticle","openApiOperationId":"createArticle","summary":"Create Article","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/CreateArticle","exampleIds":["paths/~1articles/post/requestBody/content/application~1json/examples/All writable attributes"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateArticle","exampleIds":["paths/~1articles/post/requestBody/content/application~1json/examples/All writable attributes"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","headers":{"location":{"description":"Self link of the created article","schema":{"type":"string","example":"/knowledge/contentmgr/v4/articles/DEV-5401"}},"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_20"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles/post/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles/post/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":"Conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/409/content/application~1json/examples/duplicate name"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/409/content/application~1json/examples/duplicate name"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1articles/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles/post/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1articles/post/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/409/content/application~1json/examples/duplicate name"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/409/content/application~1json/examples/duplicate name"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1articles/post/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/articles/createarticle"}],"panels":[]}]},"httpPath":"/articles"}],"content":{"contentType":"group","meta":{"name":"Articles"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Articles","showPageActions":true},{"nodeType":"markdoc","content":"Article authoring operations for viewing, creating, and managing knowledge articles."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/article/{articleID}","summary":"Get An Article By Id With Content","prefix":{"name":"get","color":"get"},"badges":[],"link":"/articles/getarticlewithcontent","deprecated":false},{"title":"/articles/{articleIDs}","summary":"Get Articles By Ids","prefix":{"name":"get","color":"get"},"badges":[],"link":"/articles/getarticlesbyids","deprecated":false},{"title":"/articles/{articleIDs}","summary":"Edit Article","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/articles/editarticle","deprecated":false},{"title":"/articles/{articleIDs}/checkout","summary":"Checkout Article","prefix":{"name":"put","color":"put"},"badges":[],"link":"/articles/checkoutarticle","deprecated":false},{"title":"/articles","summary":"Create Article","prefix":{"name":"post","color":"post"},"badges":[],"link":"/articles/createarticle","deprecated":false}]}]}]}]}},{"type":"group","label":"Folders","link":"/apis/v4/knowledge/contentmgr/api-bundled/folders","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/folders","items":[{"label":"Create Folder","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/folders/createfolder","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/folders/createfolder","metadata":{"seo":{"title":"Create Folder","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createFolder","name":"Create Folder","isWebhook":false,"pointer":"/paths/~1folders/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Folder","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"folders/createfolder/request/overview","deepLinkHash":"/folders/createfolder#folders/createfolder/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API creates a new folder either at root or under a given parent folder."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The folder is created for all knowledge base languages, so no language input is required."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/createfolder/request/permissions","deepLinkHash":"/folders/createfolder#folders/createfolder/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"'Create Folder'"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on the parent folder is required to create a folder under that parent."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"'Create Folder'"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Shared"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" folder of the provided department is required to create a root-level folder."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/createfolder/request/conflicts","deepLinkHash":"/folders/createfolder#folders/createfolder/request/conflicts"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Conflicts"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The folder name must be unique among folders of the same language under the same parent folder,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or, for a root-level folder, among the department's root-level folders. The folder is created in"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"every knowledge base language, so a name already used by such a sibling in any of those languages"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_11","description":"The media type sent by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1folders/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateFolder","exampleIds":["paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Root-Level Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/All Attributes"]}},"schemaId":"components/schemas/CreateFolder","exampleIds":["paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Root-Level Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/All Attributes"],"pointer":"/paths/~1folders/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/folders","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateFolder","exampleIds":["paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Root-Level Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/All Attributes"]}},"responseCodes":["201","400","401","403","406","409","429","500"],"pointer":"/folders","href":"folders/createfolder","openApiOperationId":"createFolder","summary":"Create Folder","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/CreateFolder","exampleIds":["paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Root-Level Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/All Attributes"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateFolder","exampleIds":["paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Root-Level Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Folder)","paths/~1folders/post/requestBody/content/application~1json/examples/All Attributes"]}},"examples":[{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","headers":{"location":{"description":"Self link of the created folder","schema":{"type":"string","example":"/knowledge/contentmgr/v4/folders/409600000154385"}},"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_21"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders/post/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders/post/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":"Conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/409/content/application~1json/examples/duplicate name"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/409/content/application~1json/examples/duplicate name"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1folders/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders/post/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders/post/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/409/content/application~1json/examples/duplicate name"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/409/content/application~1json/examples/duplicate name"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/post/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/folders/createfolder"}],"panels":[]}]},"httpPath":"/folders"},{"label":"Get Folders","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/folders/getfolders","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/folders/getfolders","metadata":{"seo":{"title":"Get Folders","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getFolders","name":"Get Folders","isWebhook":false,"pointer":"/paths/~1folders/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Folders","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"folders/getfolders/request/overview","deepLinkHash":"/folders/getfolders#folders/getfolders/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API allows user to get the folders of a department. By default only root-level folders are returned;"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$level"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to retrieve deeper levels of the folder hierarchy."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/getfolders/request/permissions","deepLinkHash":"/folders/getfolders#folders/getfolders/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"'View Folder'"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission is required to view folders. The response excludes folders"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"without the appropriate permission."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the folders are being retrieved.  Must be one of the enabled Knowledge Base languages.","required":true},{"name":"departmentId","in":"query","schemaId":"schema_22","description":"The ID of the department","required":true},{"name":"folderAdditionalAttributes","in":"query","style":"form","explode":false,"schemaId":"schema_23","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Additional Folder attributes to include in the response. By default, only attributes marked as required in the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"response schema are returned. Multiple attributes can be requested as a comma-separated list of values."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"subFolderCount"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for a large folder tree is a computationally heavy operation; use it judiciously."},"children":[],"type":"text"}],"type":"paragraph"}],"example":["description","permissions"]},{"name":"$pagenum","in":"query","schemaId":"schema_16","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$pagesize","in":"query","schemaId":"schema_17","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$order","in":"query","schemaId":"schema_24","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort direction applied to the attribute named in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Must be supplied together with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; providing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on its own is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400-124"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is supplied without "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the result is sorted in ascending order (the default "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order=asc"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$level","in":"query","schemaId":"schema_25","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Depth of the level of folder hierarchy."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - This denotes only the top level."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"1-20"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - This denotes hierarchy up to any other positive integer value level from top level."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$level"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is provided outside of 0 together with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", primary sort will be on depth first followed by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" value."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$sort","in":"query","schemaId":"schema_26","description":"Attribute on which result list will be sorted."}],"pointer":"/paths/~1folders/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true},{"name":"Accept","in":"header","schemaId":"schema_11","description":"The content type accepted by the client.","required":true}],"pointer":"/paths/~1folders/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/folders","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"},{"name":"departmentId","in":"query","required":true,"example":"999","schemaId":"schema_22"},{"name":"folderAdditionalAttributes","in":"query","required":false,"example":["description","permissions"],"schemaId":"schema_23","style":"form","explode":false},{"name":"$pagenum","in":"query","required":false,"schemaId":"schema_16"},{"name":"$pagesize","in":"query","required":false,"schemaId":"schema_17"},{"name":"$order","in":"query","required":false,"example":"asc","schemaId":"schema_24"},{"name":"$level","in":"query","required":false,"example":1,"schemaId":"schema_25"},{"name":"$sort","in":"query","required":false,"example":"name","schemaId":"schema_26"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"},{"name":"Accept","in":"header","required":true,"schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}],"responseCodes":["200","204","400","401","403","406","429","500"],"pointer":"/folders","href":"folders/getfolders","openApiOperationId":"getFolders","summary":"Get Folders","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Folders","exampleIds":["paths/~1folders/get/responses/200/content/application~1json/examples/All Attributes","paths/~1folders/get/responses/200/content/application~1json/examples/With Level"]}},"schemaId":"components/schemas/Folders","exampleIds":["paths/~1folders/get/responses/200/content/application~1json/examples/All Attributes","paths/~1folders/get/responses/200/content/application~1json/examples/With Level"]},{"code":"204","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"No content. There are no folders available to return for the requested department at the requested "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$level"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders/get/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1folders/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Folders","exampleIds":["paths/~1folders/get/responses/200/content/application~1json/examples/All Attributes","paths/~1folders/get/responses/200/content/application~1json/examples/With Level"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Folders","exampleIds":["paths/~1folders/get/responses/200/content/application~1json/examples/All Attributes","paths/~1folders/get/responses/200/content/application~1json/examples/With Level"]}}},{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders/get/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/folders/getfolders"}],"panels":[]}]},"httpPath":"/folders"},{"label":"Edit Folder","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/folders/editfolder","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/folders/editfolder","metadata":{"seo":{"title":"Edit Folder","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"editFolder","name":"Edit Folder","isWebhook":false,"pointer":"/paths/~1folders~1{folderIDs}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Edit Folder","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"folders/editfolder/request/overview","deepLinkHash":"/folders/editfolder#folders/editfolder/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API edits a single folder."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/editfolder/request/permissions","deepLinkHash":"/folders/editfolder#folders/editfolder/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"'Edit Folder'"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on the specified folder is required."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/editfolder/request/conflicts","deepLinkHash":"/folders/editfolder#folders/editfolder/request/conflicts"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Conflicts"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" request header must contain the ETag value from a prior GET, POST or PATCH response for the same folder."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The server rejects the request with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"412"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if the resource has changed since that ETag was issued."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The folder name must be unique among folders of the same language under the same parent folder, or, for a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"root-level folder, among the department's root-level folders. Renaming the folder in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$lang"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" language,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"including translating its name, to a name already used by such a sibling in that language is rejected"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The same name in a different language is not a conflict."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"folderIDs","in":"path","schemaId":"schema_27","description":"A single Folder ID","required":true,"example":"20150000000203"}],"pointer":"/paths/~1folders~1{folderIDs}/patch/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the folder is being edited. Must be one of the enabled Knowledge Base languages.","required":true}],"pointer":"/paths/~1folders~1{folderIDs}/patch/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_11","description":"The media type sent by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true},{"name":"If-Match","in":"header","schemaId":"schema_19","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag value from a prior response; the server rejects the request with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"412"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if the resource has changed."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1folders~1{folderIDs}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EditFolder","exampleIds":["paths/~1folders~1{folderIDs}/patch/requestBody/content/application~1json/examples/All Attributes"]}},"schemaId":"components/schemas/EditFolder","exampleIds":["paths/~1folders~1{folderIDs}/patch/requestBody/content/application~1json/examples/All Attributes"],"pointer":"/paths/~1folders~1{folderIDs}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/folders/{folderIDs}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"folderIDs","in":"path","required":true,"example":"20150000000203","schemaId":"schema_27"}],"query":[{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"}],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"},{"name":"If-Match","in":"header","required":true,"example":"2026-04-15T09:00:00.000Z","schemaId":"schema_19"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/EditFolder","exampleIds":["paths/~1folders~1{folderIDs}/patch/requestBody/content/application~1json/examples/All Attributes"]}},"responseCodes":["204","400","401","403","404","406","409","412","429","500"],"pointer":"/folders/{folderIDs}","href":"folders/editfolder","openApiOperationId":"editFolder","summary":"Edit Folder","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/EditFolder","exampleIds":["paths/~1folders~1{folderIDs}/patch/requestBody/content/application~1json/examples/All Attributes"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EditFolder","exampleIds":["paths/~1folders~1{folderIDs}/patch/requestBody/content/application~1json/examples/All Attributes"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content","headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":"Conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]},{"code":"412","description":"Preconditions failed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/412/content/application~1json/examples/precondition failed"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/412/content/application~1json/examples/precondition failed"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1folders~1{folderIDs}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/409/content/application~1json/examples/duplicate name"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]}}},{"code":"412","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/412/content/application~1json/examples/precondition failed"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/412/content/application~1json/examples/precondition failed"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/folders/editfolder"}],"panels":[]}]},"httpPath":"/folders/{folderIDs}"},{"label":"Get Folders By IDs","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/folders/getfoldersbyids","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/folders/getfoldersbyids","metadata":{"seo":{"title":"Get Folders By IDs","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getFoldersByIds","name":"Get Folders By IDs","isWebhook":false,"pointer":"/paths/~1folders~1{folderIDs}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Folders By IDs","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"folders/getfoldersbyids/request/overview","deepLinkHash":"/folders/getfoldersbyids#folders/getfoldersbyids/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This GET API service allows users to read one or more folders."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"All folder IDs provided in the request must belong to the same department."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/getfoldersbyids/request/permissions","deepLinkHash":"/folders/getfoldersbyids#folders/getfoldersbyids/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"'View Folder'"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on each requested folder is required."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If any requested folder fails the permission check, the entire request is rejected ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403 Forbidden"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"folderIDs","in":"path","schemaId":"schema_28","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"One or more folder IDs, separated by commas. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Maximum of 75 folder IDs allowed."},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"}],"required":true,"example":"20150000000203,40960000000096"}],"pointer":"/paths/~1folders~1{folderIDs}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the folders are being retrieved.  Must be one of the enabled Knowledge Base languages.","required":true},{"name":"folderAdditionalAttributes","in":"query","style":"form","explode":false,"schemaId":"schema_23","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Additional Folder attributes to include in the response. By default, only attributes marked as required in the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"response schema are returned. Multiple attributes can be requested as a comma-separated list of values."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"subFolderCount"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for a large folder tree is a computationally heavy operation; use it judiciously."},"children":[],"type":"text"}],"type":"paragraph"}],"example":["description","permissions"]},{"name":"$level","in":"query","schemaId":"schema_25","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Depth of the level of folder hierarchy."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - This denotes only the top level."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"1-20"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - This denotes hierarchy up to any other positive integer value level from top level."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$level"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is provided outside of 0 together with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", primary sort will be on depth first followed by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" value."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$sort","in":"query","schemaId":"schema_26","description":"Attribute on which result list will be sorted."},{"name":"$order","in":"query","schemaId":"schema_24","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort direction applied to the attribute named in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Must be supplied together with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; providing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on its own is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400-124"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is supplied without "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the result is sorted in ascending order (the default "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order=asc"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$pagenum","in":"query","schemaId":"schema_16","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$pagesize","in":"query","schemaId":"schema_17","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1folders~1{folderIDs}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true},{"name":"Accept","in":"header","schemaId":"schema_11","description":"The content type accepted by the client.","required":true}],"pointer":"/paths/~1folders~1{folderIDs}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/folders/{folderIDs}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"folderIDs","in":"path","required":true,"example":"20150000000203,40960000000096","schemaId":"schema_28"}],"query":[{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"},{"name":"folderAdditionalAttributes","in":"query","required":false,"example":["description","permissions"],"schemaId":"schema_23","style":"form","explode":false},{"name":"$level","in":"query","required":false,"example":1,"schemaId":"schema_25"},{"name":"$sort","in":"query","required":false,"example":"name","schemaId":"schema_26"},{"name":"$order","in":"query","required":false,"example":"asc","schemaId":"schema_24"},{"name":"$pagenum","in":"query","required":false,"schemaId":"schema_16"},{"name":"$pagesize","in":"query","required":false,"schemaId":"schema_17"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"},{"name":"Accept","in":"header","required":true,"schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}],"responseCodes":["200","400","401","403","404","406","429","500"],"pointer":"/folders/{folderIDs}","href":"folders/getfoldersbyids","openApiOperationId":"getFoldersByIds","summary":"Get Folders By IDs","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Success. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response header is only included when a single folder ID is requested."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Folders","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/With Level","paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/All Attributes"]}},"schemaId":"components/schemas/Folders","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/With Level","paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/All Attributes"],"headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1folders~1{folderIDs}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Folders","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/With Level","paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/All Attributes"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Folders","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/With Level","paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/All Attributes"]}}},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/folders/getfoldersbyids"}],"panels":[]}]},"httpPath":"/folders/{folderIDs}"},{"label":"Delete Folders","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/folders/deletefolders","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/folders/deletefolders","metadata":{"seo":{"title":"Delete Folders","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteFolders","name":"Delete Folders","isWebhook":false,"pointer":"/paths/~1folders~1{folderIDs}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete Folders","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"folders/deletefolders/request/overview","deepLinkHash":"/folders/deletefolders#folders/deletefolders/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This DELETE API allows user to delete one or more folders."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"All folder IDs provided in the request must belong to the same department."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/deletefolders/request/permissions","deepLinkHash":"/folders/deletefolders#folders/deletefolders/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Delete Folder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action. Additionally:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"'Delete Folder'"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" permission on each folder is required to delete folders."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If any requested folder fails the permission check, the entire request is rejected ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403 Forbidden"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/deletefolders/request/preconditions","deepLinkHash":"/folders/deletefolders#folders/deletefolders/request/preconditions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Preconditions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each of the following is a schema-valid request that cannot be processed, and is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If any of the specified folders is referenced as a topic in a portal, provide "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deleteIfUsedInPortal=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to proceed."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A folder cannot be deleted while it contains articles. Provide "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deleteUnreferencedArticles=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to delete"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the unreferenced articles in the folder; articles that are referenced elsewhere cannot be deleted, and a folder"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"that still contains such articles is preserved."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"folders/deletefolders/request/status","deepLinkHash":"/folders/deletefolders#folders/deletefolders/request/status"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deletion is processed asynchronously. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"202"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response returns a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Location"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header whose URL"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(ending in the job ID) can be polled via"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/core/infomgr/api-bundled/jobs/getasyncjobstatus"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Async Job Status"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to check the outcome."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"folderIDs","in":"path","schemaId":"schema_28","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"One or more folder IDs, separated by commas. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Maximum of 75 folder IDs allowed."},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"}],"required":true,"example":"20150000000203,40960000000096"}],"pointer":"/paths/~1folders~1{folderIDs}/delete/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"deleteIfUsedInPortal","in":"query","schemaId":"schema_29","description":"Explicit request to delete specified folders even if some linked topics are used in a portal(s).  If this parameter is absent and any of the topics linked to folders specified in the URI are used in a portal(s),  the server will return '422 - Unprocessable Content'.","example":true},{"name":"deleteUnreferencedArticles","in":"query","schemaId":"schema_29","description":"When true, the system asynchronously deletes all articles within the folder that are not referenced elsewhere (e.g., not targeted by links, macros, or active cases).\nIf all articles in the folder are unreferenced, they are all deleted and the folder is deleted as well.\nIf some articles are referenced, only the unreferenced articles are deleted; the referenced articles remain and the folder is preserved since it still contains content.","example":true}],"pointer":"/paths/~1folders~1{folderIDs}/delete/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1folders~1{folderIDs}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/folders/{folderIDs}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"folderIDs","in":"path","required":true,"example":"20150000000203,40960000000096","schemaId":"schema_28"}],"query":[{"name":"deleteIfUsedInPortal","in":"query","example":true,"schemaId":"schema_29"},{"name":"deleteUnreferencedArticles","in":"query","required":false,"example":true,"schemaId":"schema_29"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"responseCodes":["202","400","401","403","404","406","422","429","500"],"pointer":"/folders/{folderIDs}","href":"folders/deletefolders","openApiOperationId":"deleteFolders","summary":"Delete Folders","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Accepted. The deletion runs asynchronously; poll the URL in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Location"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header via "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/core/infomgr/api-bundled/jobs/getasyncjobstatus"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Async Job Status"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to check the job's outcome."},"children":[],"type":"text"}],"type":"paragraph"}],"headers":{"location":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"URL of "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/core/infomgr/api-bundled/jobs/getasyncjobstatus"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Async Job Status"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/core/infomgr/v4/async/job/{jobID}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") for this deletion. The final path segment is the job ID; poll this URL to check the job's outcome."},"children":[],"type":"text"}],"type":"paragraph"}],"schema":{"type":"string","example":"/core/infomgr/v4/async/job/2F8ABBAC-783B-43CC-8A30-371D9C461656"}}},"headerSchemaId":"schema_30"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"422","description":"Unprocessable content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1folders~1{folderIDs}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"422","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1folders~1{folderIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/folders/deletefolders"}],"panels":[]}]},"httpPath":"/folders/{folderIDs}"}],"content":{"contentType":"group","meta":{"name":"Folders"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Folders","showPageActions":true},{"nodeType":"markdoc","content":"Folder management operations for creating, viewing, editing, and deleting knowledge folders."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/folders","summary":"Create Folder","prefix":{"name":"post","color":"post"},"badges":[],"link":"/folders/createfolder","deprecated":false},{"title":"/folders","summary":"Get Folders","prefix":{"name":"get","color":"get"},"badges":[],"link":"/folders/getfolders","deprecated":false},{"title":"/folders/{folderIDs}","summary":"Edit Folder","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/folders/editfolder","deprecated":false},{"title":"/folders/{folderIDs}","summary":"Get Folders By IDs","prefix":{"name":"get","color":"get"},"badges":[],"link":"/folders/getfoldersbyids","deprecated":false},{"title":"/folders/{folderIDs}","summary":"Delete Folders","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/folders/deletefolders","deprecated":false}]}]}]}]}},{"type":"group","label":"Topics","link":"/apis/v4/knowledge/contentmgr/api-bundled/topics","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/topics","items":[{"label":"Create Topic","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/topics/createtopic","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/topics/createtopic","metadata":{"seo":{"title":"Create Topic","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createTopic","name":"Create Topic","isWebhook":false,"pointer":"/paths/~1topics/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Topic","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"topics/createtopic/request/overview","deepLinkHash":"/topics/createtopic#topics/createtopic/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API creates a new topic either at the top level of a department or under a given parent topic."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The topic is created for all enabled knowledge base languages, so no language input is required."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topics can be created manually with this API, or generated automatically from the Knowledge Console"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"folder structure (\"Topics From Folders\"); see the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"generatedFromFolderId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" attribute."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/createtopic/request/permissions","deepLinkHash":"/topics/createtopic#topics/createtopic/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role with the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topic"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" resource."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user sending the request must be from the same or shared department as the parent topic"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or department provided in the request body."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/createtopic/request/validation","deepLinkHash":"/topics/createtopic#topics/createtopic/request/validation"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"parent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"department"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" request body properties are mutually exclusive and must not be provided"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"together. Supplying both is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/createtopic/request/preconditions","deepLinkHash":"/topics/createtopic#topics/createtopic/request/preconditions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Preconditions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The parent topic must not be an auto-generated topic (\"Topics From Folders\"). Such a request is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"schema-valid but cannot be processed, and is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/createtopic/request/conflicts","deepLinkHash":"/topics/createtopic#topics/createtopic/request/conflicts"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Conflicts"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The topic name must be unique among topics of the same language under the same parent topic,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or, for a top-level topic, among the department's top-level topics. The topic is created in every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"enabled knowledge base language, so a name already used by such a sibling in any of those"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"languages is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_11","description":"The media type sent by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1topics/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateTopic","exampleIds":["paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Top-Level Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/All Attributes"]}},"schemaId":"components/schemas/CreateTopic","exampleIds":["paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Top-Level Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/All Attributes"],"pointer":"/paths/~1topics/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/topics","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateTopic","exampleIds":["paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Top-Level Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/All Attributes"]}},"responseCodes":["201","400","401","403","406","409","422","429","500"],"pointer":"/topics","href":"topics/createtopic","openApiOperationId":"createTopic","summary":"Create Topic","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/CreateTopic","exampleIds":["paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Top-Level Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/All Attributes"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateTopic","exampleIds":["paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Top-Level Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Topic)","paths/~1topics/post/requestBody/content/application~1json/examples/All Attributes"]}},"examples":[{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","headers":{"location":{"description":"Self link of the created topic","schema":{"type":"string","example":"/knowledge/contentmgr/v4/topics/KB-2270"}},"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_31"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics/post/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics/post/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":"Conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/409/content/application~1json/examples/duplicate name"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/409/content/application~1json/examples/duplicate name"]},{"code":"422","description":"Unprocessable content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/422/content/application~1json/examples/unprocessable content"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/422/content/application~1json/examples/unprocessable content"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1topics/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics/post/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics/post/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/409/content/application~1json/examples/duplicate name"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/409/content/application~1json/examples/duplicate name"]}}},{"code":"422","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/422/content/application~1json/examples/unprocessable content"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/422/content/application~1json/examples/unprocessable content"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/post/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/topics/createtopic"}],"panels":[]}]},"httpPath":"/topics"},{"label":"Get Topics","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/topics/gettopics","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/topics/gettopics","metadata":{"seo":{"title":"Get Topics","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTopics","name":"Get Topics","isWebhook":false,"pointer":"/paths/~1topics/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Topics","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"topics/gettopics/request/overview","deepLinkHash":"/topics/gettopics#topics/gettopics/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API retrieves topics. By default only top-level topics are returned; use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$level"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to retrieve deeper levels"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"of the topic hierarchy."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topics may be created manually or generated automatically from the Knowledge Console folder structure"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(\"Topics From Folders\"). Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"filter[type]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to fetch only one kind."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/gettopics/request/permissions","deepLinkHash":"/topics/gettopics#topics/gettopics/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" action"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topic"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" resource."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user sending the request must be from the same or shared department as the requested "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"portalId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"departmentId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"parentId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" OR "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"articleId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topics the user is not allowed to view are omitted from the response."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/gettopics/request/validation","deepLinkHash":"/topics/gettopics#topics/gettopics/request/validation"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Exactly one"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the following query parameters must be provided: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"portalId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"departmentId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":","},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"parentId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" OR "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"articleId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". They are mutually exclusive — providing none, or more than one, is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the topics are being retrieved. Must be one of the enabled Knowledge Base languages.","required":true},{"name":"portalId","in":"query","schemaId":"schema_32","description":"Returns the topics associated with the specified portal. A portal ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits.","example":"PROD-1002"},{"name":"departmentId","in":"query","schemaId":"schema_33","description":"Returns the topics belonging to the specified department.","example":"1000"},{"name":"parentId","in":"query","schemaId":"schema_32","description":"Returns the direct sub-topics of the specified parent topic.","example":"KB-3102"},{"name":"articleId","in":"query","schemaId":"schema_32","description":"Returns the topics that the specified article is used in. An article ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits.","example":"PROD-2996"},{"name":"filter[type]","in":"query","schemaId":"schema_34","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Filters topics by how they were created: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manual"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for user-defined topics, or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"topicsFromFolder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for topics automatically generated from the Knowledge Console folder structure (\"Topics From Folders\")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"topicAdditionalAttributes","in":"query","style":"form","explode":false,"schemaId":"schema_35","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Additional Topic attributes to include in the response. By default only attributes marked as required in the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"response schema are returned. Multiple attributes can be requested as a comma-separated list of values."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"subTopicCount"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for a large topic tree is a computationally heavy operation; use it judiciously."},"children":[],"type":"text"}],"type":"paragraph"}],"example":["description","customAttributes"]},{"name":"$pagenum","in":"query","schemaId":"schema_16","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$pagesize","in":"query","schemaId":"schema_17","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$order","in":"query","schemaId":"schema_24","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort direction applied to the attribute named in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Must be supplied together with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; providing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on its own is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400-124"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is supplied without "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the result is sorted in ascending order (the default "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order=asc"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$level","in":"query","schemaId":"schema_25","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Depth of the level of topic hierarchy."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Max depth in a request: 20"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - This denotes only the root level"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"1-20"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - This denotes hierarchy up to any other positive integer value level from root level"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$level"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is provided outside of 0 together with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", primary sort will be on depth first followed by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" value."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$sort","in":"query","schemaId":"schema_26","description":"Attribute on which result list will be sorted."}],"pointer":"/paths/~1topics/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true},{"name":"Accept","in":"header","schemaId":"schema_11","description":"The content type accepted by the client.","required":true}],"pointer":"/paths/~1topics/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/topics","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"},{"name":"portalId","in":"query","required":false,"example":"PROD-1002","schemaId":"schema_32"},{"name":"departmentId","in":"query","required":false,"example":"1000","schemaId":"schema_33"},{"name":"parentId","in":"query","required":false,"example":"KB-3102","schemaId":"schema_32"},{"name":"articleId","in":"query","required":false,"example":"PROD-2996","schemaId":"schema_32"},{"name":"filter[type]","in":"query","required":false,"schemaId":"schema_34"},{"name":"topicAdditionalAttributes","in":"query","required":false,"example":["description","customAttributes"],"schemaId":"schema_35","style":"form","explode":false},{"name":"$pagenum","in":"query","required":false,"schemaId":"schema_16"},{"name":"$pagesize","in":"query","required":false,"schemaId":"schema_17"},{"name":"$order","in":"query","required":false,"example":"asc","schemaId":"schema_24"},{"name":"$level","in":"query","required":false,"example":1,"schemaId":"schema_25"},{"name":"$sort","in":"query","required":false,"example":"name","schemaId":"schema_26"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"},{"name":"Accept","in":"header","required":true,"schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}],"responseCodes":["200","204","400","401","403","406","429","500"],"pointer":"/topics","href":"topics/gettopics","openApiOperationId":"getTopics","summary":"Get Topics","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Topics","exampleIds":["paths/~1topics/get/responses/200/content/application~1json/examples/Default Attributes","paths/~1topics/get/responses/200/content/application~1json/examples/All Attributes","paths/~1topics/get/responses/200/content/application~1json/examples/With Level"]}},"schemaId":"components/schemas/Topics","exampleIds":["paths/~1topics/get/responses/200/content/application~1json/examples/Default Attributes","paths/~1topics/get/responses/200/content/application~1json/examples/All Attributes","paths/~1topics/get/responses/200/content/application~1json/examples/With Level"]},{"code":"204","description":"No content"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics/get/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1topics/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Topics","exampleIds":["paths/~1topics/get/responses/200/content/application~1json/examples/Default Attributes","paths/~1topics/get/responses/200/content/application~1json/examples/All Attributes","paths/~1topics/get/responses/200/content/application~1json/examples/With Level"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Topics","exampleIds":["paths/~1topics/get/responses/200/content/application~1json/examples/Default Attributes","paths/~1topics/get/responses/200/content/application~1json/examples/All Attributes","paths/~1topics/get/responses/200/content/application~1json/examples/With Level"]}}},{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics/get/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/topics/gettopics"}],"panels":[]}]},"httpPath":"/topics"},{"label":"Edit Topic","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/topics/edittopic","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/topics/edittopic","metadata":{"seo":{"title":"Edit Topic","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"editTopic","name":"Edit Topic","isWebhook":false,"pointer":"/paths/~1topics~1{topicIDs}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Edit Topic","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"topics/edittopic/request/overview","deepLinkHash":"/topics/edittopic#topics/edittopic/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API edits a single topic."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For auto-generated topics (\"Topics From Folders\"), you may only edit "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"translateContent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"imageUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"articleForTopicHomeContent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (and the top/bottom order via the Edit Article Order API). The set of articles in"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"such a topic mirrors its source folder and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"cannot"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" be changed with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"links"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unlinks"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; edit the source"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"folder instead. A request that attempts to change any other attribute of an auto-generated topic is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"schema-valid but cannot be processed, and is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/edittopic/request/permissions","deepLinkHash":"/topics/edittopic#topics/edittopic/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"action on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topic"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" resource."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user sending the request must be from the same or shared department as the topic."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/edittopic/request/conflicts","deepLinkHash":"/topics/edittopic#topics/edittopic/request/conflicts"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Conflicts"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" request header must contain the ETag value from a prior GET, POST or PATCH response for the same topic."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The server rejects the request with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"412"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if the resource has changed since that ETag was issued."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The topic name must be unique among topics of the same language under the same parent topic, or, for a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"top-level topic, among the department's top-level topics. Renaming the topic in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$lang"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" language,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"including translating its name, to a name already used by such a sibling in that language is rejected"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The same name in a different language is not a conflict."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"topicIDs","in":"path","schemaId":"schema_32","description":"The ID of a single topic. A topic ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits.","required":true,"example":"KB-2268"}],"pointer":"/paths/~1topics~1{topicIDs}/patch/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the topic is being edited. Must be one of the enabled Knowledge Base languages.","required":true}],"pointer":"/paths/~1topics~1{topicIDs}/patch/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_11","description":"The media type sent by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true},{"name":"If-Match","in":"header","schemaId":"schema_19","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag value from a prior response; the server rejects the request with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"412"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if the resource has changed."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1topics~1{topicIDs}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EditTopic","exampleIds":["paths/~1topics~1{topicIDs}/patch/requestBody/content/application~1json/examples/All Attributes"]}},"schemaId":"components/schemas/EditTopic","exampleIds":["paths/~1topics~1{topicIDs}/patch/requestBody/content/application~1json/examples/All Attributes"],"pointer":"/paths/~1topics~1{topicIDs}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/topics/{topicIDs}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"topicIDs","in":"path","required":true,"example":"KB-2268","schemaId":"schema_32"}],"query":[{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"}],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"},{"name":"If-Match","in":"header","required":true,"example":"2026-04-15T09:00:00.000Z","schemaId":"schema_19"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/EditTopic","exampleIds":["paths/~1topics~1{topicIDs}/patch/requestBody/content/application~1json/examples/All Attributes"]}},"responseCodes":["204","400","401","403","404","406","409","412","422","429","500"],"pointer":"/topics/{topicIDs}","href":"topics/edittopic","openApiOperationId":"editTopic","summary":"Edit Topic","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/EditTopic","exampleIds":["paths/~1topics~1{topicIDs}/patch/requestBody/content/application~1json/examples/All Attributes"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EditTopic","exampleIds":["paths/~1topics~1{topicIDs}/patch/requestBody/content/application~1json/examples/All Attributes"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content","headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"409","description":"Conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]},{"code":"412","description":"Preconditions failed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/412/content/application~1json/examples/precondition failed"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/412/content/application~1json/examples/precondition failed"]},{"code":"422","description":"Unprocessable content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/422/content/application~1json/examples/unprocessable content"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/422/content/application~1json/examples/unprocessable content"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1topics~1{topicIDs}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"409","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/409/content/application~1json/examples/duplicate name"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/409/content/application~1json/examples/duplicate name"]}}},{"code":"412","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/412/content/application~1json/examples/precondition failed"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/412/content/application~1json/examples/precondition failed"]}}},{"code":"422","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/422/content/application~1json/examples/unprocessable content"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/422/content/application~1json/examples/unprocessable content"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/topics/edittopic"}],"panels":[]}]},"httpPath":"/topics/{topicIDs}"},{"label":"Get Topics By IDs","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/topics/gettopicsbyids","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/topics/gettopicsbyids","metadata":{"seo":{"title":"Get Topics By IDs","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTopicsByIds","name":"Get Topics By IDs","isWebhook":false,"pointer":"/paths/~1topics~1{topicIDs}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Topics By IDs","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"topics/gettopicsbyids/request/overview","deepLinkHash":"/topics/gettopicsbyids#topics/gettopicsbyids/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This GET API service allows users to read one or more topics."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"All topic IDs provided in the request must belong to the same department."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/gettopicsbyids/request/permissions","deepLinkHash":"/topics/gettopicsbyids#topics/gettopicsbyids/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"action on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topic"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" resource."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user sending the request must be from the same or shared department as the requested topics."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the user is not allowed to view any requested topic, the entire request is rejected ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403 Forbidden"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"topicIDs","in":"path","schemaId":"schema_36","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"One or more topic IDs, separated by commas. Each topic ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Maximum of 75 topic IDs allowed."},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1topics~1{topicIDs}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"$lang","in":"query","schemaId":"schema_9","description":"The knowledge base language in which the topics are being retrieved. Must be one of the enabled Knowledge Base languages.","required":true},{"name":"topicAdditionalAttributes","in":"query","style":"form","explode":false,"schemaId":"schema_35","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Additional Topic attributes to include in the response. By default only attributes marked as required in the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"response schema are returned. Multiple attributes can be requested as a comma-separated list of values."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"subTopicCount"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for a large topic tree is a computationally heavy operation; use it judiciously."},"children":[],"type":"text"}],"type":"paragraph"}],"example":["description","customAttributes"]},{"name":"$level","in":"query","schemaId":"schema_25","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Depth of the level of topic hierarchy."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Max depth in a request: 20"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - This denotes only the root level"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"1-20"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - This denotes hierarchy up to any other positive integer value level from root level"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$level"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is provided outside of 0 together with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", primary sort will be on depth first followed by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" value."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$sort","in":"query","schemaId":"schema_26","description":"Attribute on which result list will be sorted."},{"name":"$order","in":"query","schemaId":"schema_24","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort direction applied to the attribute named in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Must be supplied together with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; providing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on its own is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400-124"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$sort"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is supplied without "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the result is sorted in ascending order (the default "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"$order=asc"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$pagenum","in":"query","schemaId":"schema_16","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the page number of results to be returned. Used in conjunction with $pagesize."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"$pagesize","in":"query","schemaId":"schema_17","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pagination parameter that specifies the number of results per page. Used in conjunction with $pagenum."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1topics~1{topicIDs}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true},{"name":"Accept","in":"header","schemaId":"schema_11","description":"The content type accepted by the client.","required":true}],"pointer":"/paths/~1topics~1{topicIDs}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/topics/{topicIDs}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"topicIDs","in":"path","required":true,"example":"KB-2268,KB-2269","schemaId":"schema_36"}],"query":[{"name":"$lang","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/KnowledgeBaseLanguageCode"},{"name":"topicAdditionalAttributes","in":"query","required":false,"example":["description","customAttributes"],"schemaId":"schema_35","style":"form","explode":false},{"name":"$level","in":"query","required":false,"example":1,"schemaId":"schema_25"},{"name":"$sort","in":"query","required":false,"example":"name","schemaId":"schema_26"},{"name":"$order","in":"query","required":false,"example":"asc","schemaId":"schema_24"},{"name":"$pagenum","in":"query","required":false,"schemaId":"schema_16"},{"name":"$pagesize","in":"query","required":false,"schemaId":"schema_17"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"},{"name":"Accept","in":"header","required":true,"schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}],"responseCodes":["200","400","401","403","404","406","429","500"],"pointer":"/topics/{topicIDs}","href":"topics/gettopicsbyids","openApiOperationId":"getTopicsByIds","summary":"Get Topics By IDs","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Success. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response header is only included when a single topic ID is requested."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Topics","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/With Level","paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/All Attributes"]}},"schemaId":"components/schemas/Topics","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/With Level","paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/All Attributes"],"headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1topics~1{topicIDs}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Topics","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/With Level","paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/All Attributes"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Topics","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/With Level","paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/All Attributes"]}}},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/topics/gettopicsbyids"}],"panels":[]}]},"httpPath":"/topics/{topicIDs}"},{"label":"Delete Topics","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/topics/deletetopics","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/topics/deletetopics","metadata":{"seo":{"title":"Delete Topics","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteTopics","name":"Delete Topics","isWebhook":false,"pointer":"/paths/~1topics~1{topicIDs}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete Topics","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"topics/deletetopics/request/overview","deepLinkHash":"/topics/deletetopics#topics/deletetopics/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This DELETE API allows user to delete one or more topics."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"All topic IDs provided in the request must belong to the same department."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The portal and precondition rules below ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deleteIfUsedInPortal"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deleteSubtopics"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") are enforced independently"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"of the user's roles and actions."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/deletetopics/request/permissions","deepLinkHash":"/topics/deletetopics#topics/deletetopics/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Delete"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"action on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topic"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" resource."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user sending the request must be from the same or shared department as the requested topics."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the user is not allowed to delete any requested topic, the entire request is rejected ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403 Forbidden"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/deletetopics/request/preconditions","deepLinkHash":"/topics/deletetopics#topics/deletetopics/request/preconditions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Preconditions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each of the following is a schema-valid request that cannot be processed, and is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The topics being deleted must not be auto-generated topics (\"Topics From Folders\"). There is no override."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If any of the specified topics is used in a portal, provide "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deleteIfUsedInPortal=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to proceed."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A topic cannot be deleted if it is the last remaining topic in a portal. Because a request may specify"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"several topics, and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deleteSubtopics=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" may remove more, this is evaluated against the resulting state:"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the request is rejected if it would leave any portal with no topics. There is no override —"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deleteIfUsedInPortal=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" does "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" bypass this."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If any of the specified topics contains sub-topics, provide "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deleteSubtopics=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to delete the sub-topics as well."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"topicIDs","in":"path","schemaId":"schema_36","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"One or more topic IDs, separated by commas. Each topic ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Maximum of 75 topic IDs allowed."},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1topics~1{topicIDs}/delete/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"deleteIfUsedInPortal","in":"query","schemaId":"schema_29","description":"Explicit request to delete specified topics even if some of them are used in a portal(s). If this parameter is absent and any of the topics specified in the URI are used in a portal(s), the server will return '422 - Unprocessable Content'.","example":true},{"name":"deleteSubtopics","in":"query","schemaId":"schema_5","description":"When true, all sub-topics under the specified topics are also deleted. If this parameter is absent and any of the specified topics contain sub-topics, the server will return '422 - Unprocessable Content'."}],"pointer":"/paths/~1topics~1{topicIDs}/delete/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1topics~1{topicIDs}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/topics/{topicIDs}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"topicIDs","in":"path","required":true,"example":"KB-2268,KB-2269","schemaId":"schema_36"}],"query":[{"name":"deleteIfUsedInPortal","in":"query","example":true,"schemaId":"schema_29"},{"name":"deleteSubtopics","in":"query","required":false,"schemaId":"schema_5"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"responseCodes":["204","400","401","403","404","406","422","429","500"],"pointer":"/topics/{topicIDs}","href":"topics/deletetopics","openApiOperationId":"deleteTopics","summary":"Delete Topics","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"422","description":"Unprocessable content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1topics~1{topicIDs}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"422","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/topics/deletetopics"}],"panels":[]}]},"httpPath":"/topics/{topicIDs}"},{"label":"Get Article Order","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/topics/getarticleorder","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/topics/getarticleorder","metadata":{"seo":{"title":"Get Article Order","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getArticleOrder","name":"Get Article Order","isWebhook":false,"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Article Order","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"topics/getarticleorder/request/overview","deepLinkHash":"/topics/getarticleorder#topics/getarticleorder/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API retrieves the \"top\" and \"bottom\" order of articles in a specified topic. It returns two ordered"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"lists of articles: those pinned to the top of the topic's list and those pinned to the bottom."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Only pinned articles are returned. The topic's other articles are not part of this response — they are"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"displayed between the two pinned lists, in unspecified order, when the topic's articles are listed in portals."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A list with nothing pinned is omitted from the response. If neither list has pinned articles, the API"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"204 No Content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The response carries the topic's "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". A topic and its article order share a single ETag, so this value"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"can be supplied as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when subsequently updating either the topic or its article order."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/getarticleorder/request/permissions","deepLinkHash":"/topics/getarticleorder#topics/getarticleorder/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"View"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"action on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topic"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" resource."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user sending the request must be from the same or shared department as the topic."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"topicIDs","in":"path","schemaId":"schema_32","description":"The ID of a single topic. A topic ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits.","required":true,"example":"KB-2268"}],"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true},{"name":"Accept","in":"header","schemaId":"schema_11","description":"The content type accepted by the client.","required":true}],"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/topics/{topicIDs}/articleorder","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"topicIDs","in":"path","required":true,"example":"KB-2268","schemaId":"schema_32"}],"query":[],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"},{"name":"Accept","in":"header","required":true,"schemaId":"schema_11"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}],"responseCodes":["200","204","400","401","403","404","406","429","500"],"pointer":"/topics/{topicIDs}/articleorder","href":"topics/getarticleorder","openApiOperationId":"getArticleOrder","summary":"Get Article Order","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Success. The body carries whichever of the two lists have pinned articles; a list with nothing pinned is omitted. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response header carries the current version of the topic identified in the URI. A topic and its article order share a single ETag, so this value can be supplied as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when subsequently updating either the topic or its article order."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/200/content/application~1json/examples/Article Order"]}},"schemaId":"components/schemas/GetArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/200/content/application~1json/examples/Article Order"],"headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"204","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"No content. No articles are pinned to either list. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response header is still returned, so it can be supplied as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when needed."},"children":[],"type":"text"}],"type":"paragraph"}],"headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/200/content/application~1json/examples/Article Order"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/200/content/application~1json/examples/Article Order"]}}},{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/topics/getarticleorder"}],"panels":[]}]},"httpPath":"/topics/{topicIDs}/articleorder"},{"label":"Edit Article Order","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/topics/editarticleorder","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/topics/editarticleorder","metadata":{"seo":{"title":"Edit Article Order","description":"Overview"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"editArticleOrder","name":"Edit Article Order","isWebhook":false,"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Edit Article Order","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"topics/editarticleorder/request/overview","deepLinkHash":"/topics/editarticleorder#topics/editarticleorder/request/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This API sets the order of articles in a topic by pinning articles to the top or the bottom of the topic's"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"list. It does not add or remove article associations; it only rearranges existing ones. When the topic's articles"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"are listed in portals, articles in neither list are displayed between the two pinned lists, in unspecified order."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each list is replaced in full. Supply the complete desired list, in the order the articles should appear —"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the first entry in the array is displayed first."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Omit "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"topArticlesList"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"bottomArticlesList"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to leave that list unchanged."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Supply an empty array to clear that list."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Article order can be edited for both manual and auto-generated (\"Topics From Folders\") topics."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/editarticleorder/request/permissions","deepLinkHash":"/topics/editarticleorder#topics/editarticleorder/request/permissions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permissions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user must have either the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Author"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Knowledge Base Manager"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" role, or a custom role with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Edit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"action on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Topic"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" resource."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The user sending the request must be from the same or shared department as the topic."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/editarticleorder/request/validation","deepLinkHash":"/topics/editarticleorder#topics/editarticleorder/request/validation"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Validation"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The same article ID must not appear in both "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"topArticlesList"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"bottomArticlesList"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". An article can be"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pinned to the top or to the bottom, not both. Supplying the same ID in both lists is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Within a single list, each article ID must appear at most once."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A maximum of 25 articles can be pinned to each list. Supplying more is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The request body must contain at least one of "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"topArticlesList"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"bottomArticlesList"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". A body"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with neither would change nothing and is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/editarticleorder/request/preconditions","deepLinkHash":"/topics/editarticleorder#topics/editarticleorder/request/preconditions"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Preconditions"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"All articles supplied in the request body must already be associated with the specified topic. Such a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"request is schema-valid but cannot be processed, and is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"422"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":2,"id":"topics/editarticleorder/request/conflicts","deepLinkHash":"/topics/editarticleorder#topics/editarticleorder/request/conflicts"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Conflicts"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A topic and its article order share a single "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", so an ETag issued for either is valid for both."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" request header must contain the ETag value from a prior GET, POST or PATCH response for"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the same topic. The server rejects the request with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"412"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if the topic has changed since that ETag was"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"issued."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A successful request advances the shared ETag and updates the topic's "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"lastModified"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", so any ETag held"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"elsewhere for the same topic — including one obtained for a metadata edit — becomes stale."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthOnBehalfOfUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"],"type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"topicIDs","in":"path","schemaId":"schema_32","description":"The ID of a single topic. A topic ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits.","required":true,"example":"KB-2268"}],"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/patch/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Content-Type","in":"header","schemaId":"schema_11","description":"The media type sent by the client.","required":true},{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true},{"name":"If-Match","in":"header","schemaId":"schema_19","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"ETag value from a prior response; the server rejects the request with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"412"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if the resource has changed."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EditArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Reorder Articles","paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Clear Top List"]}},"schemaId":"components/schemas/EditArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Reorder Articles","paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Clear Top List"],"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody","description":"Replace the top and/or bottom lists for manual article sorting. Each list supplied is replaced in full, in the order given."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/topics/{topicIDs}/articleorder","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"topicIDs","in":"path","required":true,"example":"KB-2268","schemaId":"schema_32"}],"query":[],"querystring":[],"header":[{"name":"Content-Type","in":"header","required":true,"schemaId":"schema_11"},{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"},{"name":"If-Match","in":"header","required":true,"example":"2026-04-15T09:00:00.000Z","schemaId":"schema_19"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"schemes":[{"id":"oAuthOnBehalfOfUser","type":"oauth2","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}],"requestBody":{"application/json":{"schemaId":"components/schemas/EditArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Reorder Articles","paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Clear Top List"]}},"responseCodes":["204","400","401","403","404","406","412","422","429","500"],"pointer":"/topics/{topicIDs}/articleorder","href":"topics/editarticleorder","openApiOperationId":"editArticleOrder","summary":"Edit Article Order","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.manage"]},{"oAuthOnBehalfOfUser":["https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"schemaId":"components/schemas/EditArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Reorder Articles","paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Clear Top List"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/EditArticleOrder","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Reorder Articles","paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Clear Top List"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content","headers":{"ETag":{"$ref":"#/components/headers/eTag"}},"headerSchemaId":"schema_13"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/401/content/application~1json/examples/Invalid Authorization"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/401/content/application~1json/examples/Invalid Authorization"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/403/content/application~1json/examples/Required Scope Missing"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/403/content/application~1json/examples/Required Scope Missing"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/404/content/application~1json/examples/Resource Not Found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/404/content/application~1json/examples/Resource Not Found"]},{"code":"406","description":"Not acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/406/content/application~1json/examples/Not Acceptable"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/406/content/application~1json/examples/Not Acceptable"]},{"code":"412","description":"Preconditions failed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/412/content/application~1json/examples/precondition failed"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/412/content/application~1json/examples/precondition failed"]},{"code":"422","description":"Unprocessable content","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/422/content/application~1json/examples/unprocessable content"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/422/content/application~1json/examples/unprocessable content"]},{"code":"429","description":"Too Many Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/429/content/application~1json/examples/Too Many Request"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/429/content/application~1json/examples/Too Many Request"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1topics~1{topicIDs}~1articleorder/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Unallowed attribute value"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Required Attribute missing","paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Unallowed attribute value"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/401/content/application~1json/examples/Invalid Authorization"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/401/content/application~1json/examples/Invalid Authorization"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/403/content/application~1json/examples/Required Scope Missing"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/403/content/application~1json/examples/Required Scope Missing"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/404/content/application~1json/examples/Resource Not Found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/404/content/application~1json/examples/Resource Not Found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/406/content/application~1json/examples/Not Acceptable"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/406/content/application~1json/examples/Not Acceptable"]}}},{"code":"412","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/412/content/application~1json/examples/precondition failed"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/412/content/application~1json/examples/precondition failed"]}}},{"code":"422","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/422/content/application~1json/examples/unprocessable content"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/422/content/application~1json/examples/unprocessable content"]}}},{"code":"429","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/429/content/application~1json/examples/Too Many Request"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/429/content/application~1json/examples/Too Many Request"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1topics~1{topicIDs}~1articleorder/patch/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/topics/editarticleorder"}],"panels":[]}]},"httpPath":"/topics/{topicIDs}/articleorder"}],"content":{"contentType":"group","meta":{"name":"Topics"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Topics","showPageActions":true},{"nodeType":"markdoc","content":"Topic management operations for creating, viewing, editing, and deleting knowledge topics."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/topics","summary":"Create Topic","prefix":{"name":"post","color":"post"},"badges":[],"link":"/topics/createtopic","deprecated":false},{"title":"/topics","summary":"Get Topics","prefix":{"name":"get","color":"get"},"badges":[],"link":"/topics/gettopics","deprecated":false},{"title":"/topics/{topicIDs}","summary":"Edit Topic","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/topics/edittopic","deprecated":false},{"title":"/topics/{topicIDs}","summary":"Get Topics By IDs","prefix":{"name":"get","color":"get"},"badges":[],"link":"/topics/gettopicsbyids","deprecated":false},{"title":"/topics/{topicIDs}","summary":"Delete Topics","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/topics/deletetopics","deprecated":false},{"title":"/topics/{topicIDs}/articleorder","summary":"Get Article Order","prefix":{"name":"get","color":"get"},"badges":[],"link":"/topics/getarticleorder","deprecated":false},{"title":"/topics/{topicIDs}/articleorder","summary":"Edit Article Order","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/topics/editarticleorder","deprecated":false}]}]}]}]}},{"type":"group","label":"Prompt","link":"/apis/v4/knowledge/contentmgr/api-bundled/prompt","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/prompt","items":[{"label":"Get Prompt Templates","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/prompt/getprompttemplates","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/prompt/getprompttemplates","metadata":{"seo":{"title":"Get Prompt Templates","description":"Retrieve prompt templates filtered by department and language."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getPromptTemplates","name":"Get Prompt Templates","isWebhook":false,"pointer":"/paths/~1prompts~1prompttemplates/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Prompt Templates","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve prompt templates filtered by department and language."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"department","in":"query","schemaId":"schema_37","description":"Name of the department. Must be a valid department name.","required":true,"example":"Service"},{"name":"languageCode","in":"query","schemaId":"schema_38","description":"The language used while writing the prompt templates.","required":true,"example":"en-US"},{"name":"name","in":"query","schemaId":"schema_39","description":"Fetch only templates with this exact name.","example":"Generate email"},{"name":"useFor","in":"query","schemaId":"schema_40","description":"Filter prompt templates based on console.","example":"knowledge"}],"pointer":"/paths/~1prompts~1prompttemplates/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1prompts~1prompttemplates/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/prompts/prompttemplates","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[],"query":[{"name":"department","in":"query","required":true,"example":"Service","schemaId":"schema_37"},{"name":"languageCode","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/LegacyKBLanguageCodes"},{"name":"name","in":"query","required":false,"example":"Generate email","schemaId":"schema_39"},{"name":"useFor","in":"query","required":false,"example":"knowledge","schemaId":"schema_40"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"responseCodes":["200","204","400","401","403","404","406","500"],"pointer":"/prompts/prompttemplates","href":"prompt/getprompttemplates","openApiOperationId":"getPromptTemplates","summary":"Get Prompt Templates","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthClient":["https://api.egain.cloud/auth/.default"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful response with list of prompt templates","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PromptTemplates"}},"schemaId":"components/schemas/PromptTemplates"},{"code":"204","description":"No content"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Missing required query parameter"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Missing required query parameter"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/401/content/application~1json/examples/Unauthorized"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/403/content/application~1json/examples/Forbidden"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/403/content/application~1json/examples/Forbidden"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/404/content/application~1json/examples/Not found"]},{"code":"406","description":"Not Acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/406/content/application~1json/examples/Invalid Accept-Language"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/406/content/application~1json/examples/Invalid Accept-Language"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1prompts~1prompttemplates/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/PromptTemplates","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PromptTemplates"}}},{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Missing required query parameter"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Missing required query parameter"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/401/content/application~1json/examples/Unauthorized"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/403/content/application~1json/examples/Forbidden"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/403/content/application~1json/examples/Forbidden"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/404/content/application~1json/examples/Not found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/406/content/application~1json/examples/Invalid Accept-Language"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/406/content/application~1json/examples/Invalid Accept-Language"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/prompt/getprompttemplates"}],"panels":[]}]},"httpPath":"/prompts/prompttemplates"},{"label":"Get Prompt Template By ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/v4/knowledge/contentmgr/api-bundled/prompt/getprompttemplatebyid","routeSlug":"/apis/v4/knowledge/contentmgr/api-bundled/prompt/getprompttemplatebyid","metadata":{"seo":{"title":"Get Prompt Template By ID","description":"Retrieve a prompt template filtered by department and language."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getPromptTemplateById","name":"Get Prompt Template By ID","isWebhook":false,"pointer":"/paths/~1prompts~1prompttemplates~1{promptID}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Prompt Template By ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a prompt template filtered by department and language."},{"nodeType":"security","requirements":[{"schemes":[{"name":"oAuthUser","scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"],"type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}}}]},{"schemes":[{"name":"oAuthClient","scopes":["https://api.egain.cloud/auth/.default"],"type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"promptID","in":"path","schemaId":"schema_41","description":"The promptID of the prompt template you want to fetch details for.","required":true}],"pointer":"/paths/~1prompts~1prompttemplates~1{promptID}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"department","in":"query","schemaId":"schema_37","description":"Name of the department. Must be a valid department name.","required":true,"example":"Service"},{"name":"languageCode","in":"query","schemaId":"schema_38","description":"The language used while writing the prompt templates.","required":true,"example":"en-US"}],"pointer":"/paths/~1prompts~1prompttemplates~1{promptID}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Accept-Language","in":"header","schemaId":"schema_12","description":"The Language locale accepted by the client (used for locale specific fields in resource representation and in error responses).","required":true}],"pointer":"/paths/~1prompts~1prompttemplates~1{promptID}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/prompts/prompttemplates/{promptID}","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"parameters":{"path":[{"name":"promptID","in":"path","required":true,"example":"PROD-4582","schemaId":"schema_41"}],"query":[{"name":"department","in":"query","required":true,"example":"Service","schemaId":"schema_37"},{"name":"languageCode","in":"query","required":true,"example":"en-US","schemaId":"components/schemas/LegacyKBLanguageCodes"}],"querystring":[],"header":[{"name":"Accept-Language","in":"header","required":true,"example":"en-US","schemaId":"components/schemas/LoginLanguage"}],"cookie":[]},"security":[{"schemes":[{"id":"oAuthUser","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"}],"scopes":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"schemes":[{"id":"oAuthClient","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"}],"scopes":["https://api.egain.cloud/auth/.default"]}],"responseCodes":["200","204","400","401","403","404","406","500"],"pointer":"/prompts/prompttemplates/{promptID}","href":"prompt/getprompttemplatebyid","openApiOperationId":"getPromptTemplateById","summary":"Get Prompt Template By ID","securityGroups":[{"oAuthUser":["https://api.egain.cloud/auth/knowledge.contentmgr.read"]},{"oAuthClient":["https://api.egain.cloud/auth/.default"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful response with list of prompt templates","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PromptTemplate"}},"schemaId":"components/schemas/PromptTemplate"},{"code":"204","description":"No content"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Missing required query parameter"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Missing required query parameter"]},{"code":"401","description":"Unauthorized","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/401/content/application~1json/examples/Unauthorized"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/401/content/application~1json/examples/Unauthorized"]},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/403/content/application~1json/examples/Forbidden"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/403/content/application~1json/examples/Forbidden"]},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/404/content/application~1json/examples/Not found"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/404/content/application~1json/examples/Not found"]},{"code":"406","description":"Not Acceptable","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/406/content/application~1json/examples/Invalid Accept-Language"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/406/content/application~1json/examples/Invalid Accept-Language"]},{"code":"500","description":"Internal server error","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/500/content/application~1json/examples/Internal Server Error"]}},"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/500/content/application~1json/examples/Internal Server Error"]}],"pointer":"/paths/~1prompts~1prompttemplates~1{promptID}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/PromptTemplate","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PromptTemplate"}}},{"code":"204"},{"code":"400","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Missing required query parameter"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Unsupported Parameters","paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Invalid Value","paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Missing required query parameter"]}}},{"code":"401","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/401/content/application~1json/examples/Unauthorized"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/401/content/application~1json/examples/Unauthorized"]}}},{"code":"403","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/403/content/application~1json/examples/Forbidden"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/403/content/application~1json/examples/Forbidden"]}}},{"code":"404","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/404/content/application~1json/examples/Not found"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/404/content/application~1json/examples/Not found"]}}},{"code":"406","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/406/content/application~1json/examples/Invalid Accept-Language"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/406/content/application~1json/examples/Invalid Accept-Language"]}}},{"code":"500","schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/500/content/application~1json/examples/Internal Server Error"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WSErrorCommon","exampleIds":["paths/~1prompts~1prompttemplates~1{promptID}/get/responses/500/content/application~1json/examples/Internal Server Error"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/prompt/getprompttemplatebyid"}],"panels":[]}]},"httpPath":"/prompts/prompttemplates/{promptID}"}],"content":{"contentType":"group","meta":{"name":"Prompt"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Prompt","showPageActions":true},{"nodeType":"markdoc","content":"Prompt template read operations for knowledge AI features."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/prompts/prompttemplates","summary":"Get Prompt Templates","prefix":{"name":"get","color":"get"},"badges":[],"link":"/prompt/getprompttemplates","deprecated":false},{"title":"/prompts/prompttemplates/{promptID}","summary":"Get Prompt Template By ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/prompt/getprompttemplatebyid","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/Hooks":{"id":"components/schemas/Hooks","kind":"json-schema","title":"Hooks","data":{"type":"object","properties":{"hooks":{"type":"array","items":{"$ref":"#/components/schemas/Hook"}}}}},"components/schemas/Hook":{"id":"components/schemas/Hook","kind":"json-schema","title":"Hook","data":{"type":"object","required":["type","fileObject"],"properties":{"hookID":{"type":"integer","description":"ID of hook","minimum":1,"maximum":999999999},"name":{"description":"Name of the hook.","type":"string","minLength":1,"maxLength":255,"pattern":"^[\\w\\-\\s]+$"},"type":{"type":"string","enum":["import_pre_validation_hook","import_post_validation_hook"]},"fileObject":{"$ref":"#/components/schemas/FileObject"}}}},"components/schemas/FileObjects":{"id":"components/schemas/FileObjects","kind":"json-schema","title":"FileObjects","data":{"type":"array","items":{"$ref":"#/components/schemas/FileObject"},"minItems":0,"maxItems":20}},"components/schemas/FileObject":{"id":"components/schemas/FileObject","kind":"json-schema","title":"FileObject","data":{"type":"object","properties":{"fileID":{"type":"string","description":"ID of Hook File","format":"uuid"},"createdDate":{"$ref":"#/components/schemas/createdDate"},"createdBy":{"$ref":"#/components/schemas/createdBy"},"modifiedDate":{"$ref":"#/components/schemas/modifiedDate"},"modifiedBy":{"$ref":"#/components/schemas/modifiedBy"},"version":{"type":"object","properties":{"versionID":{"type":"integer","description":"ID of Hook File version","minimum":1,"maximum":999999999},"isCurrent":{"type":"boolean"}}},"file":{"type":"object","required":["name","content"],"properties":{"name":{"type":"string","description":"Filename (e.g., script.js).","minLength":1,"maxLength":255,"pattern":"^[\\w\\-\\.]+\\.js$"},"content":{"type":"string","description":"Base64 encoded JavaScript content.","pattern":"^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$","maxLength":1500000},"contentUrl":{"type":"string","format":"uri","minLength":0,"maxLength":2000,"pattern":"^(https?|ftp):\\/\\/[^\\s/$.?#].[^\\s]*$|^$"}}}}}},"components/schemas/PromptTemplates":{"id":"components/schemas/PromptTemplates","kind":"json-schema","title":"PromptTemplates","data":{"type":"object","properties":{"promptTemplate":{"type":"array","items":{"$ref":"#/components/schemas/PromptTemplate"}}}}},"components/schemas/PromptTemplate":{"id":"components/schemas/PromptTemplate","kind":"json-schema","title":"PromptTemplate","data":{"type":"object","required":["name","id","description","active","useFor","appliesTo","instruction","outputFormat","createdOn","modifiedDate","createdBy","reviewStatus","isSystemCreated","fieldToUpdate"],"properties":{"name":{"type":"string","example":"Generate Title","description":"Name of the prompt template","maxLength":256,"pattern":"^[\\w\\W]*$"},"id":{"type":"string","example":"PROD-26471","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20,"description":"ID of the prompt template from the AI console"},"description":{"type":"string","example":"Generate article title based on article content","minLength":0,"maxLength":256,"pattern":"^[\\w\\W]*$"},"active":{"type":"boolean","example":true,"description":"A boolean showing whether a prompt is active or inactive."},"useFor":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Specifies which console the prompt applies to."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Available values (may be extended in the future):"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"advisor"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge-intelligence"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge-orchestration"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"custom"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},"appliesTo":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The 'channel' for this prompt. If the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"useFor"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is set to 'knowledge' then article is used. If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"useFor"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is set to 'advisor', then either 'chat' or 'email' can be used."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Available values (may be extended in the future):"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"article"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"chat"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"email"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"pattern":"^[\\w\\W]*$"},"instruction":{"type":"string","example":"I want you to generate...","minLength":1,"maxLength":12000,"description":"The prompt instructions.","pattern":"^(?=.*\\S).+$"},"outputFormat":{"type":"string","example":"html","pattern":"^[\\w\\W]*$","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The output format for the generated output."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Available values (may be extended in the future):"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"html"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"text"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},"createdOn":{"type":"string","format":"date-time","example":"2024-04-01T08:00:00Z","minLength":20,"maxLength":25,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","description":"Date and time when the prompt template was created."},"modifiedDate":{"type":"string","format":"date-time","example":"2024-04-30T17:30:00Z","minLength":20,"maxLength":25,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","description":"Date and time when the prompt was last updated."},"createdBy":{"$ref":"#/components/schemas/createdBy"},"reviewStatus":{"type":"string","pattern":"^[\\w\\W]*$","example":"published","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Review status of the prompt."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Available values (may be extended in the future):"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"published"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},"isSystemCreated":{"type":"boolean","example":false,"description":"A boolean showing whether the prompt template came out of the box or is a custom prompt."},"fieldToUpdate":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This will return the specified field to update once a user inserts the generated content."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Available values (may be extended in the future):"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"title"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"keyword"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"description"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"summary"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"replyarea"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"notes"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"subject"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"classification"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"It can also return a custom attribute which will follow the following convention:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"custom.<attributeType>.<customAttributeName>"},"children":[],"type":"code"}],"type":"paragraph"}],"pattern":"^[\\w\\W]*$","minLength":5,"maxLength":64,"example":"custom.contactPerson.cust1"},"displayAt":{"type":"array","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Specifies where the prompt will be displayed in the console."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Available values (may be extended in the future):"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"article.content-area"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"article.metadata"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"article.fix-prompts"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"article.check-prompts"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"items":{"type":"string"}}}}},"components/schemas/KnowledgeBaseLanguageCode":{"id":"components/schemas/KnowledgeBaseLanguageCode","kind":"json-schema","title":"KnowledgeBaseLanguageCode","data":{"type":"string","description":"Knowledge Console / knowledge-base locale code (BCP 47 style). Distinct from generic API languageCode enums elsewhere in this file.","enum":["ar-AE","bg-BG","cs-CZ","da-DK","de-AT","de-DE","el-GR","en-GB","en-US","es-ES","fi-FI","fil-PH","fr-CA","fr-FR","hi-IN","hu-HU","id-ID","it-IT","ja-JP","ko-KR","ms-MY","nb-NO","nl-NL","nn-NO","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sk-SK","sl-SI","sr-RS","sv-SE","th-TH","tr-TR","uk-UA","vi-VN","zh-Hans","zh-Hant","xx-XX"],"example":"en-US"}},"components/schemas/LoginLanguage":{"id":"components/schemas/LoginLanguage","kind":"json-schema","title":"Language","data":{"type":"string","title":"Language","description":"Login language code.","enum":["en-US","en-GB","es-ES","fr-FR","it-IT","de-DE","nl-NL","pt-BR","pt-PT","da-DK","ru-RU","fr-CA","zh-Hans","ja-JP","ko-KR","sv-SE","nb-NO","cs-CZ","pl-PL"],"example":"en-US"}},"components/schemas/Link":{"id":"components/schemas/Link","kind":"json-schema","title":"Link","data":{"type":"object","title":"Link","description":"Defines the relationship between this resource and another object.","properties":{"rel":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Defines the relationship between a linked resource and the current object—for example a resource type name such as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"article"},"children":[],"type":"text"}],"type":"em"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"topic"},"children":[],"type":"text"}],"type":"em"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" as defined by the API for that link."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"string","pattern":"^[a-zA-Z]+$","maxLength":50},"href":{"description":"The URL that specifies the link's destination.","type":"string","pattern":"(\\/[^#]*)","maxLength":1000}}}},"components/schemas/PaginationInfo":{"id":"components/schemas/PaginationInfo","kind":"json-schema","title":"PaginationInfo","data":{"type":"object","title":"PaginationInfo","required":["count","pagenum","pagesize"],"properties":{"count":{"description":"The total number of items.","type":"integer","minimum":0,"maximum":999},"pagenum":{"description":"The page number requested. Page numbers start from 1.","type":"integer","minimum":1,"maximum":999},"pagesize":{"description":"The number of objects requested per page. The maximum number of objects per page is 75.","type":"integer","minimum":1,"maximum":75},"link":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Can include the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"prev"},"children":[],"type":"text"}],"type":"em"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"next"},"children":[],"type":"text"}],"type":"em"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" link."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"array","items":{"$ref":"#/components/schemas/Link"},"maxItems":2,"minItems":0}}}},"components/schemas/BasicUser":{"id":"components/schemas/BasicUser","kind":"json-schema","title":"User","data":{"type":"object","title":"User","required":["id","userName"],"properties":{"id":{"description":"The ID of the user.","type":"string","pattern":"^[1-9]\\d*$","minLength":1,"maxLength":9},"userName":{"readOnly":true,"description":"The username of the user.","type":"string","pattern":"^[\\w\\-&@. ]*[\\w\\-&@.][\\w\\-&@. ]*$","minLength":1,"maxLength":255},"firstName":{"readOnly":true,"description":"The first name of the user.","type":"string","pattern":"^(?!\\s*$)(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}]).*$","minLength":1,"maxLength":255},"middleName":{"readOnly":true,"description":"The middle name of the user.","type":"string","pattern":"^$|^(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}])(\\s*\\S.*|)$","minLength":0,"maxLength":255},"lastName":{"readOnly":true,"description":"The last name of the user.","type":"string","pattern":"^(?!\\s*$)(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}]).*$","minLength":1,"maxLength":255}}}},"components/schemas/DateAndUser":{"id":"components/schemas/DateAndUser","kind":"json-schema","title":"DateAndUser","data":{"title":"DateAndUser","type":"object","required":["date","user"],"properties":{"user":{"readOnly":true,"allOf":[{"$ref":"#/components/schemas/BasicUser"}]},"date":{"title":"date","description":"The date and time associated with this object.","type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","minLength":20,"maxLength":24}}}},"components/schemas/BasicTopic":{"id":"components/schemas/BasicTopic","kind":"json-schema","title":"Topic","data":{"type":"object","title":"Topic","description":"Basic Topic object.","properties":{"id":{"description":"The ID of the topic.","type":"string","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20,"example":"KB-3102"},"name":{"readOnly":true,"type":"string","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"The display name of the topic."}}}},"components/schemas/Department":{"id":"components/schemas/Department","kind":"json-schema","title":"Department","data":{"type":"object","description":"Department of the current resource.","title":"Department","properties":{"id":{"type":"string","pattern":"^999$|^[1-9][0-9]{3,8}$","example":"999","minLength":3,"maxLength":9,"description":"The ID of the department."},"name":{"type":"string","pattern":"^[a-zA-Z0-9_-]+$","minLength":1,"maxLength":255,"description":"The name of the department.","readOnly":true}}}},"components/schemas/Language":{"id":"components/schemas/Language","kind":"json-schema","title":"Language","data":{"title":"Language","type":"object","description":"The knowledge-base language for this resource.","required":["code"],"properties":{"code":{"description":"The BCP 47 knowledge-base locale code.","allOf":[{"$ref":"#/components/schemas/KnowledgeBaseLanguageCode"}]},"label":{"description":"Human-readable language name in the current UI locale.","type":"string","pattern":"^[\\w\\W]+$","minLength":1,"maxLength":510,"readOnly":true},"isDefault":{"description":"Indicates whether this language is the default Knowledge Base language.","type":"boolean","readOnly":true}}}},"components/schemas/BasicArticle":{"id":"components/schemas/BasicArticle","kind":"json-schema","title":"Article","data":{"type":"object","title":"Article","description":"Minimal article identity used as a cross-reference.","required":["id","name"],"properties":{"id":{"description":"The ID of the article.","type":"string","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20,"example":"PROD-2996"},"name":{"description":"The name of the article.","type":"string","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","minLength":1,"maxLength":255,"readOnly":true}}}},"components/schemas/L10NString":{"id":"components/schemas/L10NString","kind":"json-schema","title":"L10NString","data":{"type":"object","title":"L10NString","properties":{"value":{"title":"value","description":"A string that indicates the value.","type":"string","minLength":0,"maxLength":255,"pattern":"^[\\w\\W]*$"},"displayValue":{"title":"displayValue","description":"Localized string of the value element.","type":"string","minLength":0,"maxLength":255,"pattern":"^[\\w\\W]*$"}}}},"components/schemas/CustomAttributeL10N":{"id":"components/schemas/CustomAttributeL10N","kind":"json-schema","title":"CustomAttribute","data":{"title":"CustomAttribute","type":"object","required":["attribInternalName","attribValues"],"properties":{"attribInternalName":{"description":"The custom attribute's internal name.","type":"string","pattern":"^[\\w\\W]+$","minLength":1,"maxLength":4000},"attribName":{"allOf":[{"description":"The custom attribute's name"},{"readOnly":true},{"$ref":"#/components/schemas/L10NString"}]},"attribValues":{"type":"array","description":"The custom attribute's values.","minItems":1,"items":{"type":"object","title":"L10NString","required":["value"],"properties":{"value":{"title":"value","description":"A string that indicates the value.","type":"string","minLength":0,"maxLength":255,"pattern":"^[\\w\\W]*$"},"displayValue":{"title":"displayValue","description":"Localized string of the value element.","type":"string","readOnly":true,"minLength":0,"maxLength":255,"pattern":"^[\\w\\W]*$"}}}},"attribType":{"description":"The custom attribute's type.","type":"string","readOnly":true,"enum":["string","integer","multi_select_list","single_select_list","datetime"]}}}},"components/schemas/Topic":{"id":"components/schemas/Topic","kind":"json-schema","title":"Topic","data":{"type":"object","properties":{"id":{"description":"The ID of the topic. A topic ID is composed of a 2-4 letter prefix followed by a dash and 4-15 digits.","type":"string","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20,"example":"KB-2268","readOnly":true},"links":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Articles to associate with the topic. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rel: article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the article's self-link in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"href"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Multiple articles can be linked using multiple entries, or a comma-separated list of IDs in a single "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"href"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Not applicable to auto-generated topics (\"Topics From Folders\"), whose articles are controlled by the source folder."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"array","minItems":0,"maxItems":200,"writeOnly":true,"items":{"$ref":"#/components/schemas/Link"}},"unlinks":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Articles to disassociate from the topic. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rel: article"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the article's self-link in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"href"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Multiple articles can be unlinked using multiple entries, or a comma-separated list of IDs in a single "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"href"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Not applicable to auto-generated topics (\"Topics From Folders\"), whose articles are controlled by the source folder."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"array","minItems":0,"maxItems":200,"items":{"$ref":"#/components/schemas/Link"}},"name":{"type":"string","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Display name of the topic. Must be unique among topics of the same language under the same parent topic, or, for a top-level topic, among the department's top-level topics. The same name in a different language is not a conflict."},"description":{"type":"string","minLength":0,"maxLength":400,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Topic description"},"created":{"description":"Created date and created by user.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"lastModified":{"description":"Last modified date of current topic.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"parent":{"description":"Present only when the topic has a parent. For a top-level (root) topic the parent property is omitted from the response.","allOf":[{"$ref":"#/components/schemas/BasicTopic"}]},"articleCount":{"description":"Number of articles in the topic.","type":"integer","readOnly":true},"department":{"description":"Department that topic belongs to.","allOf":[{"$ref":"#/components/schemas/Department"}]},"language":{"description":"The knowledge base language of the topic.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/Language"}]},"translateContent":{"type":"boolean","default":false,"description":"Articles in this topic to be considered for translation when the content is exported for translation"},"subTopicCount":{"description":"Number of sub topics in this topic","type":"integer","minimum":0,"maximum":500,"readOnly":true},"path":{"type":"string","readOnly":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The absolute breadcrumb path of the topic: the names of the topic and all of its ancestor topics, from the root topic down to this topic, joined by backslashes ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\\"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). The last segment is this topic's own name."},"children":[],"type":"text"}],"type":"paragraph"}],"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","example":"Customer Support FAQ\\Billing Inquiries"},"imageUrl":{"type":"string","description":"URL pointing to an icon or image representing the topic.","pattern":"^$|^(?=.{10,})(https?|ftp):\\/\\/[^\\s/$.?#\"<>`][^\\s\"<>`]*$","minLength":0,"maxLength":2000},"articleForTopicHomeContent":{"description":"The article assigned as the \"home content\" or landing page for this topic.","allOf":[{"$ref":"#/components/schemas/BasicArticle"}]},"customAttributes":{"description":"Custom attributes assigned to the topic.","type":"array","minItems":0,"maxItems":10,"items":{"$ref":"#/components/schemas/CustomAttributeL10N"}},"generatedFromFolderId":{"type":"string","readOnly":true,"description":"For an auto-generated topic (\"Topics From Folders\"), the ID of the Knowledge Console folder the topic was generated from and mirrors (including its sub-folders and published articles). Absent for topics created manually. The set of articles in an auto-generated topic is controlled by its source folder and cannot be changed through the Topic APIs.","pattern":"^[1-9][0-9]*$","minLength":14,"maxLength":19,"example":"40960000000096"}}}},"components/schemas/GetTopic":{"id":"components/schemas/GetTopic","kind":"json-schema","title":"Topic","data":{"title":"Topic","allOf":[{"type":"object","required":["id","name","lastModified"],"properties":{"unlinks":{"writeOnly":true}}},{"$ref":"#/components/schemas/Topic"}]}},"components/schemas/Topics":{"id":"components/schemas/Topics","kind":"json-schema","title":"Topics","data":{"type":"object","properties":{"paginationInfo":{"$ref":"#/components/schemas/PaginationInfo"},"topics":{"minItems":0,"maxItems":75,"type":"array","items":{"$ref":"#/components/schemas/GetTopic"}}}}},"components/schemas/WSErrorCommon":{"id":"components/schemas/WSErrorCommon","kind":"json-schema","title":"Error Response","data":{"type":"object","title":"Error Response","required":["code","developerMessage"],"properties":{"code":{"title":"Code Identifier","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A string that follows the pattern "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"{integer}-{integer}"},"children":[],"type":"text"}],"type":"em"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The first "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"{integer}"},"children":[],"type":"text"}],"type":"em"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is the http status code.  This code as a whole is unique."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For example, error codes \"400-101\" and \"404-101\" are distinctly different."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"string"},"developerMessage":{"title":"Developer Message","description":"A summary of the error.","type":"string","minLength":0,"maxLength":2048},"details":{"title":"Response Details","type":"array","items":{"type":"object","required":["key"],"properties":{"key":{"title":"Key","type":"string","minLength":0,"maxLength":255},"value":{"title":"Value","type":"string","minLength":0,"maxLength":255}}},"minItems":0,"maxItems":30},"userMessage":{"title":"User Message","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"UI friendly messages are only supported by some APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The client must explicitly request UI friendly messages by passing the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"*"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"X-egain-error-message=yes"},"children":[],"type":"text"}],"type":"em"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"string","minLength":0,"maxLength":1024}}}},"components/schemas/CreateTopic":{"id":"components/schemas/CreateTopic","kind":"json-schema","title":"CreateTopic","data":{"allOf":[{"type":"object","required":["name"],"oneOf":[{"title":"Create a top-level topic","description":"Create a top-level topic in a department","required":["department"],"properties":{"department":{"title":"Department","description":"Department that will own the new top-level topic.","type":"object","required":["id"],"properties":{"id":{"type":"string","description":"ID of the department in which to create the top-level topic."}}},"parent":{"readOnly":true}}},{"title":"Create a topic under parent","description":"Create a sub-topic under a parent topic","required":["parent"],"properties":{"parent":{"title":"Topic","type":"object","required":["id"],"description":"Parent topic of the topic.","properties":{"id":{"type":"string","description":"The ID of the parent topic.","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","maxLength":20}}},"department":{"readOnly":true}}}],"properties":{"unlinks":{"readOnly":true},"customAttributes":{"description":"Custom attribute values for this topic. Each entry corresponds to an attribute definition that already exists in the system."}}},{"$ref":"#/components/schemas/Topic"}]}},"components/schemas/EditTopic":{"id":"components/schemas/EditTopic","kind":"json-schema","title":"EditTopic","data":{"allOf":[{"type":"object","properties":{"parent":{"readOnly":true},"department":{"readOnly":true},"customAttributes":{"description":"Custom attribute values for this topic. Each entry corresponds to an attribute definition that already exists in the system."}}},{"$ref":"#/components/schemas/Topic"}]}},"components/schemas/ArticleOrder":{"id":"components/schemas/ArticleOrder","kind":"json-schema","title":"ArticleOrder","data":{"type":"object","description":"The pinned article ordering for a topic. Only pinned articles appear here. A maximum of 25 articles can be pinned to each list. In a response, a list with nothing pinned is omitted.","properties":{"topArticlesList":{"description":"Articles pinned to the top of the topic's list, in display order.","type":"array","minItems":0,"maxItems":25,"uniqueItems":true,"items":{"$ref":"#/components/schemas/BasicArticle"}},"bottomArticlesList":{"description":"Articles pinned to the bottom of the topic's list, in display order.","type":"array","minItems":0,"maxItems":25,"uniqueItems":true,"items":{"$ref":"#/components/schemas/BasicArticle"}}}}},"components/schemas/GetArticleOrder":{"id":"components/schemas/GetArticleOrder","kind":"json-schema","title":"ArticleOrder","data":{"title":"ArticleOrder","allOf":[{"type":"object","minProperties":1,"properties":{"topArticlesList":{"minItems":1},"bottomArticlesList":{"minItems":1}}},{"$ref":"#/components/schemas/ArticleOrder"}]}},"components/schemas/EditArticleOrder":{"id":"components/schemas/EditArticleOrder","kind":"json-schema","title":"ArticleOrder","data":{"title":"ArticleOrder","allOf":[{"type":"object","minProperties":1,"properties":{"topArticlesList":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The complete desired top list to replace the existing top list. The order of entries is the display order — the first entry appears first. Supply an empty array to clear the list."},"children":[],"type":"text"}],"type":"paragraph"}]},"bottomArticlesList":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The complete desired bottom list to replace the existing bottom list. The order of entries is the display order — the first entry appears first. Supply an empty array to clear the list."},"children":[],"type":"text"}],"type":"paragraph"}]}}},{"$ref":"#/components/schemas/ArticleOrder"}]}},"components/schemas/LegacyKBLanguageCodes":{"id":"components/schemas/LegacyKBLanguageCodes","kind":"json-schema","title":"languageCode","data":{"type":"string","title":"languageCode","x-internal-note":"EGS-94064: Canonical list of legacy Knowledge Base locale codes used across Portal Manager and related APIs. Accepts both internal MLKB codes (e.g. ja-JA) and ISO BCP-47 alternates (e.g. ja-JP) where they refer to the same language. For all legacy APIs, this schema must be  referenced instead of duplicating the enum in individual API specs. NOTE: Do not use this schema for new APIs!! New APIs should use the standard ISO BCP-47 language codes instead.","description":"The language of a resource. Resources available in different languages may differ from each other.","example":"en-US","enum":["en-US","fr-FR","en-GB","es-ES","it-IT","nl-NL","da-DA","sv-SE","pt-PT","fi-FI","no-NB","no-NN","ja-JA","de-DE","pt-BR","zh-CN","zh-TW","ko-KO","ru-RU","el-EL","tr-TR","pl-PL","cs-CS","sk-SK","hu-HU","sr-SR","ar-SA","hr-HR","ro-RO","th-TH","de-AT","vi-VN","id-ID","ms-MY","fil-PH","fr-CA","hi-IN","uk-UA","bg-BG","sl-SI","da-DK","nb-NO","nn-NO","ja-JP","ko-KR","el-GR","cs-CZ","sr-RS","zh-Hans","zh-Hant","ar-AE","xx-XX"]}},"components/schemas/createdBy":{"id":"components/schemas/createdBy","kind":"json-schema","title":"createdBy","data":{"type":"object","properties":{"id":{"description":"The ID of the user that created this resource.","type":"string","pattern":"^[1-9]\\d*$","minLength":1,"maxLength":8},"userName":{"type":"string","description":"The resource creator's username.","pattern":"^(?=(.*[a-zA-Z0-9_&@.\\-]){2,})[a-zA-Z0-9_&@.\\s\\-]+$","minLength":2,"maxLength":255},"firstName":{"type":"string","description":"The resource creator's first name.","pattern":"^(?!\\s*$)(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}]).*$","minLength":1,"maxLength":255},"middleName":{"type":"string","description":"The resource creator's middle name.","pattern":"^(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}])(\\s*\\S.*|)$","minLength":0,"maxLength":255},"lastName":{"type":"string","description":"The resource creator's last name.","pattern":"^(?!\\s*$)(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}]).*$","minLength":1,"maxLength":255}}}},"components/schemas/BasicFolder":{"id":"components/schemas/BasicFolder","kind":"json-schema","title":"Folder","data":{"type":"object","title":"Folder","properties":{"id":{"description":"ID of folder.","type":"string","pattern":"^[1-9][0-9]*$","minLength":14,"maxLength":19},"name":{"readOnly":true,"type":"string","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Folder name."}}}},"components/schemas/BasicGroup":{"id":"components/schemas/BasicGroup","kind":"json-schema","title":"Group","data":{"type":"object","title":"Group","description":"Minimal group identity used as a cross-reference.","required":["id","name"],"properties":{"id":{"description":"The ID of the group.","type":"string","pattern":"^[1-9]\\d*$","minLength":1,"maxLength":9},"name":{"readOnly":true,"description":"The name of the group.","type":"string","pattern":"^[^~`!#$%\\\\^*=\\[\\];\"<>\\/?+{}]+$","minLength":1,"maxLength":255},"description":{"readOnly":true,"description":"The description of the group.","type":"string","pattern":"^(?!\\s+$)(?:[^\\x00-\\x7F]|[\\sa-zA-Z0-9@|,()'&:._-])*$","minLength":0,"maxLength":255}}}},"components/schemas/IdentityPayload":{"id":"components/schemas/IdentityPayload","kind":"json-schema","title":"Identity","data":{"title":"Identity","description":"The identity the permissions apply to. Must be either a User or a Group.","oneOf":[{"title":"User","type":"object","required":["user"],"properties":{"user":{"title":"User","description":"The user to assign permissions to","allOf":[{"$ref":"#/components/schemas/BasicUser"}]}}},{"title":"Group","type":"object","required":["group"],"properties":{"group":{"title":"Group","description":"The group to assign permissions to","allOf":[{"$ref":"#/components/schemas/BasicGroup"}]}}}]}},"components/schemas/FolderPermissionDetail":{"id":"components/schemas/FolderPermissionDetail","kind":"json-schema","title":"FolderPermissionDetail","data":{"type":"object","required":["value","isAssigned"],"properties":{"value":{"type":"string","description":"Permission for operation","enum":["own_folder","view_folder","create_folder","delete_folder","edit_folder","create_article","edit_article","delete_article","suggest_article","manage_suggestions"]},"isAssigned":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates whether this permission is assigned to the identity."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"In a request, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" removes an existing assignment."},"children":[],"type":"text"}],"type":"paragraph"}]},"isExplicit":{"type":"boolean","readOnly":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies to user identities only. Indicates whether this permission was granted directly to the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"user ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") rather than derived indirectly ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). A derived permission is one the user"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"inherits through group membership or through propagation from a parent folder."},"children":[],"type":"text"}],"type":"paragraph"}]},"toPropagate":{"type":"boolean","writeOnly":true,"description":"Set to true to propagate this permission to all children folders."}}}},"components/schemas/FolderPermissionsEntry":{"id":"components/schemas/FolderPermissionsEntry","kind":"json-schema","title":"FolderPermission","data":{"title":"FolderPermission","type":"object","required":["identity","permission"],"properties":{"identity":{"$ref":"#/components/schemas/IdentityPayload"},"permission":{"type":"array","description":"The permissions granted to the identity.","minItems":1,"maxItems":10,"items":{"$ref":"#/components/schemas/FolderPermissionDetail"}}}}},"components/schemas/FolderPermissions":{"id":"components/schemas/FolderPermissions","kind":"json-schema","title":"FolderPermissions","data":{"type":"array","minItems":1,"maxItems":75,"description":"Folder permissions. Each entry lists the permissions that apply to an identity (a user or group).","items":{"$ref":"#/components/schemas/FolderPermissionsEntry"}}},"components/schemas/Folder":{"id":"components/schemas/Folder","kind":"json-schema","title":"Folder","data":{"type":"object","properties":{"id":{"description":"ID of folder","type":"string","pattern":"^[1-9][0-9]*$","minLength":14,"maxLength":19,"readOnly":true},"name":{"type":"string","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Display name of the folder. Must be unique among folders of the same language under the same parent folder, or, for a root-level folder, among the department's root-level folders. The same name in a different language is not a conflict."},"description":{"type":"string","minLength":0,"maxLength":400,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Folder description"},"created":{"description":"Created date and created by user.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"lastModified":{"description":"Last modified date of current folder.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"parent":{"description":"Present only when the folder has a parent. For a root-level folder the parent property is omitted from the response.","allOf":[{"$ref":"#/components/schemas/BasicFolder"}]},"articleCount":{"description":"Number of articles in the folder.","type":"integer","readOnly":true},"department":{"description":"Department that folder belongs to.","allOf":[{"$ref":"#/components/schemas/Department"}]},"language":{"description":"The knowledge base language of the folder.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/Language"}]},"translateContent":{"type":"boolean","default":false,"description":"Articles in this folder to be considered for translation when the content is exported for translation"},"permissions":{"description":"Folder permissions.","allOf":[{"$ref":"#/components/schemas/FolderPermissions"}]},"subFolderCount":{"description":"Number of sub folders in this folder","type":"integer","minimum":0,"maximum":500,"readOnly":true},"path":{"type":"string","description":"Path of folder.","readOnly":true},"isSystemCreated":{"description":"Indicates if folder was created by the system.","type":"boolean","readOnly":true}}}},"components/schemas/GetFolder":{"id":"components/schemas/GetFolder","kind":"json-schema","title":"Folder","data":{"title":"Folder","allOf":[{"type":"object","required":["id","name","lastModified"],"properties":{"permissions":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The current user's own permissions on this folder. Each entry's "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"identity"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is always the current user."},"children":[],"type":"text"}],"type":"paragraph"}],"maxItems":1}}},{"$ref":"#/components/schemas/Folder"}]}},"components/schemas/Folders":{"id":"components/schemas/Folders","kind":"json-schema","title":"Folders","data":{"type":"object","properties":{"paginationInfo":{"$ref":"#/components/schemas/PaginationInfo"},"folders":{"minItems":0,"maxItems":75,"type":"array","items":{"$ref":"#/components/schemas/GetFolder"}}}}},"components/schemas/CreateFolder":{"id":"components/schemas/CreateFolder","kind":"json-schema","title":"CreateFolder","data":{"allOf":[{"type":"object","required":["name"],"oneOf":[{"title":"Create a root-level folder","description":"Create a root-level folder in a department","required":["department"],"properties":{"department":{"title":"Department","description":"Department that will own the new root-level folder.","type":"object","required":["id"],"properties":{"id":{"type":"string","description":"ID of the department in which to create the root-level folder."}}},"parent":{"readOnly":true}}},{"title":"Create a folder under parent","description":"Create a sub-folder under a parent folder","required":["parent"],"properties":{"parent":{"title":"Folder","type":"object","required":["id"],"description":"Parent folder of the folder.","properties":{"id":{"type":"string","description":"ID of the parent folder","pattern":"^[1-9][0-9]*$","maxLength":19}}},"department":{"readOnly":true}}}],"properties":{"permissions":{"description":"Permissions to grant to users or groups on the new folder."}}},{"$ref":"#/components/schemas/Folder"}]}},"components/schemas/EditFolder":{"id":"components/schemas/EditFolder","kind":"json-schema","title":"EditFolder","data":{"allOf":[{"type":"object","properties":{"parent":{"readOnly":true},"department":{"readOnly":true},"permissions":{"description":"Permissions to grant to or revoke from users or groups on the folder."}}},{"$ref":"#/components/schemas/Folder"}]}},"components/schemas/DataSourceCredentials":{"id":"components/schemas/DataSourceCredentials","kind":"json-schema","title":"DataSourceCredentials","data":{"type":"object","properties":{"accessKeyId":{"type":"string","maxLength":1024,"description":"Access key for S3 credentials datasource. Provide along with Secret Key."},"secretAccessKey":{"type":"string","maxLength":1024,"description":"Secret key for S3 credentials datasource. Provide along with Access Key."},"username":{"type":"string","maxLength":1024,"description":"Username for SFTP credentials datasource. Provide along with Password."},"password":{"type":"string","maxLength":1024,"description":"Password for SFTP credentials datasource. Provide along with Username."}}}},"components/schemas/stopDateTime":{"id":"components/schemas/stopDateTime","kind":"json-schema","title":"stopDateTime","data":{"type":"string","description":"The specific date and time when the job must stop processing, regardless of completion status.","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","example":"2024-03-01T14:00:00.000Z"}},"components/schemas/ImportContent":{"id":"components/schemas/ImportContent","kind":"json-schema","title":"ImportContent","data":{"type":"object","properties":{"dataSource":{"type":"object","properties":{"type":{"type":"string","description":"Type of data source","enum":["AWS S3 bucket","Shared file path"]},"path":{"type":"string","description":"Path of the data source","format":"uri","maxLength":1024},"region":{"description":"Region of the data source","type":"string","maxLength":20},"credentials":{"$ref":"#/components/schemas/DataSourceCredentials"}},"required":["type","path"]},"operation":{"type":"string","enum":["import","reimport"]},"includeReport":{"type":"boolean","default":false,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the service generates a structured import report on job conclusion detailing the resources created, updated, deleted, or failed along with their eGain-assigned IDs. The report's location is returned as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"reportFolderLocation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the Get Job Status response. Defaults to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", in which case no report is generated."},"children":[],"type":"text"}],"type":"paragraph"}]},"scheduleTime":{"type":"object","properties":{"date":{"type":"string","description":"The scheduled start time for the import job.","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","example":"2024-03-01T10:00:00.000Z"},"stopDate":{"$ref":"#/components/schemas/stopDateTime"}},"required":["date"]}},"required":["dataSource","operation"]}},"components/schemas/createdDate":{"id":"components/schemas/createdDate","kind":"json-schema","title":"createdDate","data":{"type":"string","format":"DateAndTime","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","minLength":20,"maxLength":25,"description":"The date on which the resource was last modified."}},"components/schemas/modifiedDate":{"id":"components/schemas/modifiedDate","kind":"json-schema","title":"modifiedDate","data":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","minLength":20,"maxLength":25,"description":"The date on which the resource was last modified."}},"components/schemas/modifiedBy":{"id":"components/schemas/modifiedBy","kind":"json-schema","title":"modifiedBy","data":{"type":"object","properties":{"id":{"description":"The ID of the user that modified this resource.","type":"string","pattern":"^[1-9]\\d*$","minLength":1,"maxLength":8},"userName":{"type":"string","description":"The resource modifier's username.","pattern":"^(?=(.*[a-zA-Z0-9_&@.\\-]){2,})[a-zA-Z0-9_&@.\\s\\-]+$","minLength":2,"maxLength":255},"firstName":{"type":"string","description":"The resource modifier's first name.","pattern":"^(?!\\s*$)(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}]).*$","minLength":1,"maxLength":255},"middleName":{"type":"string","description":"The resource modifier's middle name.","pattern":"^(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}])(\\s*\\S.*|)$","minLength":0,"maxLength":255},"lastName":{"type":"string","description":"The resource modifier's last name.","pattern":"^(?!\\s*$)(?!.*[~`!#$%\\^*=\\[\\];\"|<>\\/?+\\{\\}]).*$","minLength":1,"maxLength":255}}}},"components/schemas/ImportStatus":{"id":"components/schemas/ImportStatus","kind":"json-schema","title":"ImportStatus","data":{"type":"object","properties":{"status":{"type":"string","description":"Status of the job.","enum":["Scheduled","In Progress","Successful","Failed","Cancelled"]},"subStatus":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sub-Status of Status. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Only returned when query parameter verbose=true"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"statusReason":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Provides detailed context on why the job reached its current status."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Commonly used with 'In-Progress' or 'Cancelled' statuses. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"name":"br","attrs":{}},"children":[],"type":"tag","tag":"html"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Only returned when query parameter verbose=true."},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"}],"example":"Job was paused due to the maximum job duration being reached."},"jobType":{"type":"string","enum":["Import","Validation"]},"progress":{"type":"object","description":"Progress of the job.","properties":{"processed":{"type":"number","description":"Number of items processed.","minimum":0,"maximum":100000},"total":{"type":"number","description":"Number of total items to process.","minimum":0,"maximum":100000},"percentage":{"type":"number","description":"Percentage of total items that have been processed.","minimum":0,"maximum":100}}},"logFileLocation":{"type":"string","description":"Location of the job log file.","maxLength":1024},"reportFolderLocation":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Location of the import report folder. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Only returned when "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"includeReport=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" was provided on the Create Import Job request."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" The report is written to the same data source the package was read from."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Examples:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"*"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For S3:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"s3://<bucket>/ingestion-execution/{packageId}_report/\""},"children":[],"type":"code"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For SFTP:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"sftp://<host>/ingestion-execution/{packageId}_report/\""},"children":[],"type":"code"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For the report's structure and contents, see the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://apidev.egain.com/developer-portal/guides/ingestion/ingestion-overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ingestion API Overview"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"maxLength":1024},"startTime":{"type":"string","description":"Start time of job.","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","example":"2024-03-01T10:00:00.000Z"},"scheduledStopTime":{"$ref":"#/components/schemas/stopDateTime"},"estimatedCompletion":{"type":"string","description":"Estimated completion time of job.","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","example":"2024-03-01T10:00:00.000Z"},"currentOperation":{"type":"string","description":"Current operation of job being processed.","maxLength":1024},"completionTime":{"type":"string","format":"date-time","description":"Completion time of job.","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","example":"2024-03-01T10:00:00.000Z"},"failureTime":{"type":"string","description":"Failure time of job.","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$","example":"2024-03-01T10:00:00.000Z"},"results":{"type":"object","description":"Result of job.","properties":{"successful":{"type":"number","description":"Number of item succesfully processed by job.","minimum":0,"maximum":100000},"warnings":{"type":"number","description":"Number of warnings encountered during job.","minimum":0,"maximum":100000},"errors":{"description":"Number of errors encountered during job.","type":"number","minimum":0,"maximum":100000}}},"error":{"type":"string","description":"Error of job.","maxLength":1024}},"required":["status","jobType"]}},"components/schemas/ValidateImportContent":{"id":"components/schemas/ValidateImportContent","kind":"json-schema","title":"ValidateImportContent","data":{"type":"object","properties":{"dataSource":{"type":"object","properties":{"type":{"type":"string","description":"Type of data source","enum":["AWS S3 bucket","Shared file path"]},"path":{"type":"string","description":"Path of the data source","format":"uri"},"region":{"description":"Region of the data source","type":"string"},"credentials":{"$ref":"#/components/schemas/DataSourceCredentials"}},"required":["type","path"]}},"required":["dataSource"]}},"components/schemas/StructuredAuthoringConfidenceLevel":{"id":"components/schemas/StructuredAuthoringConfidenceLevel","kind":"json-schema","title":"L10NString","data":{"title":"L10NString","type":"object","nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Stage of the article lifecycle indicating author confidence in readiness."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"On Edit Article, send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to clear the confidence level. Omitting the property leaves"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the current value unchanged."},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"value":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Supported values:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"work_in_progress"},"children":[],"type":"code"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not_validated"},"children":[],"type":"code"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"validated"},"children":[],"type":"code"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"archived"},"children":[],"type":"code"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Additional values may be added in the future, so clients should handle unrecognized values gracefully."},"children":[],"type":"text"}],"type":"paragraph"}]},"displayValue":{"type":"string","readOnly":true,"description":"Localized label for the confidence level, such as Work In Progress.","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"}}}},"components/schemas/StructuredAuthoring":{"id":"components/schemas/StructuredAuthoring","kind":"json-schema","title":"StructuredAuthoring","data":{"type":"object","nullable":true,"description":"This property is only applicable when structured authoring is enabled for the article type and department.\n","properties":{"confidenceLevel":{"$ref":"#/components/schemas/StructuredAuthoringConfidenceLevel"},"environment":{"type":"string","description":"Specifies the relevant product, category, or business process tied to the issue. The maximum size is 1 KB. The number of characters that fit depends on the language.","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"issueDescription":{"type":"string","description":"Describes the problem, symptom, or question the article addresses. The maximum size is 1 KB. The number of characters that fit depends on the language.","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"issueCause":{"type":"string","description":"Identifies the underlying cause of the issue. The maximum size is 1 KB. The number of characters that fit depends on the language.","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"}}}},"components/schemas/Attachment":{"id":"components/schemas/Attachment","kind":"json-schema","title":"Attachment","data":{"type":"object","minProperties":1,"description":"A file attached to an article version.","properties":{"id":{"type":"string","description":"The ID of the attachment.","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"type":"string","description":"The name of the attachment file including the extension.","maxLength":2000,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","readOnly":true},"mediaType":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Media type (MIME type) of the file, for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"image/png"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"minLength":1,"maxLength":255,"pattern":"^[a-zA-Z0-9!#$&^_-]+/[a-zA-Z0-9!#$&^_.+-]+$","readOnly":true},"contentUrl":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"URL used to start the attachment download flow and obtain a short-lived signed URL to download the file bytes,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"for example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=35674B764E7848586E786..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"maxLength":2000,"pattern":"^https?:\\/\\/[^\\s/$.?#\"<>`][^\\s\"<>`]*$","readOnly":true},"size":{"type":"integer","description":"Attachment size in bytes.","readOnly":true},"created":{"description":"Date and user who uploaded the attachment.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"fileUploadId":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Identifier of a pre-uploaded file, returned by the File Manager"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/core/filemgr/api-bundled/storageservice/generatefilepreuploadurl"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Generate URL to upload a file"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"API."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Upload the file before referencing it here. That API returns a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" together"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with a short-lived signed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"uploadUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; send the file bytes to the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"uploadUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", then send"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in this property to attach the uploaded file to the article version."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Once attached, the file receives an attachment "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which is what identifies it on"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"subsequent edits. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" has no further use."},"children":[],"type":"text"}],"type":"paragraph"}],"minLength":36,"maxLength":36,"writeOnly":true,"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}}}},"components/schemas/ArticleType":{"id":"components/schemas/ArticleType","kind":"json-schema","title":"ArticleType","data":{"type":"object","required":["id"],"description":"Article type. Defaults to General during article creation if not provided.","properties":{"id":{"type":"string","description":"The ID of the article type.","pattern":"^[1-9][0-9]*$","minLength":15,"maxLength":19,"example":"932100000002020"},"name":{"type":"string","description":"The name of the article type.","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","readOnly":true},"description":{"type":"string","description":"Description of the article type.","minLength":0,"maxLength":400,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","readOnly":true},"articleCategoryId":{"type":"integer","description":"Article category ID.","minimum":0,"maximum":7,"readOnly":true},"useStructuredAuthoring":{"type":"boolean","description":"Whether structured authoring is enabled for this article type.","readOnly":true},"imageUrl":{"type":"string","description":"Image URL or path. Empty allowed.","minLength":0,"maxLength":2000,"pattern":"^$|^\\S(.*\\S)?$","readOnly":true},"isSearchable":{"type":"boolean","description":"When true, this article type is searchable on portals.","readOnly":true},"isDisplayable":{"type":"boolean","description":"When true, this article type is included in portal browsing.","readOnly":true},"isSystemCreated":{"type":"boolean","description":"Whether the article type was created by the system.","readOnly":true}}}},"components/schemas/BasicPublishView":{"id":"components/schemas/BasicPublishView","kind":"json-schema","title":"PublishView","data":{"type":"object","title":"PublishView","properties":{"id":{"description":"The ID of the publish view.","type":"string","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"description":"The name of the publish view.","type":"string","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","minLength":1,"maxLength":255}}}},"components/schemas/Edition":{"id":"components/schemas/Edition","kind":"json-schema","title":"Edition","data":{"type":"object","description":"An article edition tied to a publish view from personalization.","properties":{"id":{"description":"The ID of the edition.","type":"string","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"description":"The name of the edition.","type":"string","maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"isContentEdition":{"type":"boolean","description":"Whether this edition contains article content."},"publishView":{"description":"The publish view that selects this edition.","allOf":[{"$ref":"#/components/schemas/BasicPublishView"}]}}}},"components/schemas/Tag":{"id":"components/schemas/Tag","kind":"json-schema","title":"Tag","data":{"type":"object","required":["id"],"properties":{"id":{"description":"The ID of the tag.","type":"string","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"description":"The name of the tag.","type":"string","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","minLength":1,"maxLength":255,"readOnly":true}}}},"components/schemas/TagGroup":{"id":"components/schemas/TagGroup","kind":"json-schema","title":"TagGroup","data":{"type":"object","required":["id"],"properties":{"id":{"description":"The ID of the tag group.","type":"string","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"description":"The name of the tag group.","type":"string","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","minLength":1,"maxLength":100,"readOnly":true}}}},"components/schemas/TagCategory":{"id":"components/schemas/TagCategory","kind":"json-schema","title":"TagCategory","data":{"type":"object","description":"A tag category groups tags and tag groups used for personalization.","required":["id"],"properties":{"id":{"description":"The ID of the tag category.","type":"string","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"description":"The name of the tag category.","type":"string","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","minLength":1,"maxLength":100,"readOnly":true},"tags":{"type":"array","description":"Tags selected in this category.","items":{"$ref":"#/components/schemas/Tag"}},"tagGroups":{"type":"array","description":"Tag groups selected in this category.","items":{"$ref":"#/components/schemas/TagGroup"}}}}},"components/schemas/PublishView":{"id":"components/schemas/PublishView","kind":"json-schema","title":"PublishView","data":{"type":"object","required":["id"],"properties":{"id":{"description":"The ID of the publish view.","type":"string","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"description":"The name of the publish view.","type":"string","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","minLength":1,"maxLength":255,"readOnly":true},"tagCategories":{"type":"array","description":"Tag categories for this publish view.","maxItems":20,"readOnly":true,"items":{"$ref":"#/components/schemas/TagCategory"}}}}},"components/schemas/Personalization":{"id":"components/schemas/Personalization","kind":"json-schema","title":"Personalization","data":{"type":"object","nullable":true,"description":"Personalization controls article access, search filtering, and publish views.","properties":{"accessTagCategories":{"type":"array","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Tag categories that restrict visibility to matching users or groups."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"On Edit Article, the supplied array replaces the current one in full — each supplied"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"tag category is taken as complete, including its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"tags"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"tagGroups"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". To remove all"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"access tag categories, send an empty array ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Omitting the property leaves the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"current value unchanged."},"children":[],"type":"text"}],"type":"paragraph"}],"maxItems":20,"items":{"$ref":"#/components/schemas/TagCategory"}},"filterTagCategories":{"type":"array","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Tag categories used to refine search when request tags or tag groups match."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"On Edit Article, the supplied array replaces the current one in full — each supplied"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"tag category is taken as complete, including its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"tags"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"tagGroups"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". To remove all"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"filter tag categories, send an empty array ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Omitting the property leaves the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"current value unchanged."},"children":[],"type":"text"}],"type":"paragraph"}],"maxItems":20,"items":{"$ref":"#/components/schemas/TagCategory"}},"publishViews":{"type":"array","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Publish view for the article."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"On Edit Article, the supplied array replaces the current one in full. To remove all"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"publish views, send an empty array ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Omitting the property leaves the current"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"value unchanged."},"children":[],"type":"text"}],"type":"paragraph"}],"maxItems":20,"items":{"$ref":"#/components/schemas/PublishView"}}}}},"components/schemas/Version":{"id":"components/schemas/Version","kind":"json-schema","title":"Version","data":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the article version.","pattern":"^[1-9][0-9]*$","maxLength":19,"readOnly":true},"name":{"type":"string","description":"The name of the article in this version's language. Must be unique among articles of the same language in the same folder. The same name in a different language is not a conflict.","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"versionNumber":{"type":"integer","description":"The sequential version number of the article version.","readOnly":true},"created":{"description":"Created date and created by user for this article version.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"lastModified":{"description":"Last modified date and user for this article version.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"description":{"type":"string","description":"The article version's description. The maximum size is 1 KB. The number of characters that fit depends on the language.","minLength":0,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"keywords":{"type":"string","description":"The keywords for the version. The maximum size is 1 KB. The number of characters that fit depends on the language.","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"summary":{"type":"string","description":"A summary metadata of the version. The maximum size is 1 KB. The number of characters that fit depends on the language.","minLength":0,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"additionalInfo":{"type":"string","description":"Additional information for the version. The maximum size is 1 KB. The number of characters that fit depends on the language.","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"content":{"type":"string","description":"Raw HTML content of the current article's version. The maximum size is 2 MB. The number of characters that fit depends on the language.","minLength":0},"structuredAuthoring":{"$ref":"#/components/schemas/StructuredAuthoring"},"availabilityDate":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","description":"The date that the version becomes available, in UTC. Availability date must not be\nmore than 1 year into the future.\n","example":"2026-04-15T09:00:00.000Z"},"expirationDate":{"type":"string","format":"date-time","nullable":true,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","description":"The date that the version expires, in UTC. Expiration date must not be more than 5 years into the future.\n","example":"2028-04-14T23:59:59.000Z"},"label":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Release summary for the version. On Article edits, this property is only allowed when the article is being published, otherwise it is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"},"imageUrl":{"type":"string","description":"Image URL (http, https, or ftp). Empty allowed. Min 10 characters when provided.","minLength":0,"maxLength":2000,"pattern":"^$|^(?=.{10,})(https?|ftp):\\/\\/[^\\s/$.?#\"<>`][^\\s\"<>`]*$","example":"https://www.example.com/images/kb/release-banner.png"},"attachments":{"type":"array","description":"Attachments linked to this article version.","items":{"$ref":"#/components/schemas/Attachment"}},"articleType":{"$ref":"#/components/schemas/ArticleType"},"articleState":{"type":"string","description":"The lifecycle state of the article version.","readOnly":true,"enum":["published","transient","draft","abandoned"]},"translationStatus":{"type":"string","description":"Translation status of the article version relative to its source language.","readOnly":true,"enum":["upto_date","outdated"]},"availableEditions":{"type":"array","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Editions available for this version. Each edition corresponds to a publish view when the article is personalized. To retrieve edition content, use the Portal Manager "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/knowledge/portalmgr/api-bundled/article/getarticleeditiondetails"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Article Edition Details"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" API."},"children":[],"type":"text"}],"type":"paragraph"}],"readOnly":true,"items":{"$ref":"#/components/schemas/Edition"}},"personalization":{"$ref":"#/components/schemas/Personalization"},"ownedBy":{"title":"User","description":"The user who owns the article. Defaults to the author.","allOf":[{"$ref":"#/components/schemas/BasicUser"}]},"isMajorUpdate":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Whether this version is a major update. On Article edits, this property is only allowed when the article is being published, otherwise it is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"includeInGenAI":{"type":"boolean","description":"Whether this version allows Generative AI to be used for Instant Answers."}}}},"components/schemas/NullableBasicArticle":{"id":"components/schemas/NullableBasicArticle","kind":"json-schema","title":"Article","data":{"type":"object","title":"Article","nullable":true,"description":"Minimal article identity used as a cross-reference.","required":["id","name"],"properties":{"id":{"description":"The ID of the article.","type":"string","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20,"example":"PROD-2996"},"name":{"description":"The name of the article.","type":"string","pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","minLength":1,"maxLength":255,"readOnly":true}}}},"components/schemas/Macro":{"id":"components/schemas/Macro","kind":"json-schema","title":"Macro","data":{"type":"object","nullable":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Describes the Macro associated with the article. Macros are embeddable shortcuts to article"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content — they substitute lengthy or dynamic text with short values."},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"name":{"type":"string","minLength":1,"maxLength":40,"pattern":"^(?!.*[\\u0020<>\\\\,.?:;\"'!&/+#`]).*$","description":"The macro name."},"isSystemCreated":{"type":"boolean","description":"Whether the macro was created by the system.","readOnly":true},"description":{"type":"string","maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Description of the macro."},"defaultValue":{"type":"string","maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Displayed when the macro expands and the source article has no content. Use as a short fallback for empty source content."},"fallbackArticle":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If expansion fails, show this article's published and available content instead of an"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"error. The user must have access to the folder containing the article."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"On Edit Article, send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to remove the fallback article while keeping the macro"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"itself. Omitting the property leaves the current fallback article unchanged."},"children":[],"type":"text"}],"type":"paragraph"}],"allOf":[{"$ref":"#/components/schemas/NullableBasicArticle"}]}}}},"components/schemas/SuggestionStatus":{"id":"components/schemas/SuggestionStatus","kind":"json-schema","title":"SuggestionStatus","data":{"description":"Status of the suggestion. Applies only to article suggestions.","allOf":[{"type":"object","properties":{"value":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Suggestion workflow state. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"suggested"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (new), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pending"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (under review), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"declined"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(rejected), or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"approved"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (accepted)."},"children":[],"type":"text"}],"type":"paragraph"}],"enum":["suggested","pending","declined","approved"]}}},{"$ref":"#/components/schemas/L10NString"}]}},"components/schemas/ReviewStage":{"id":"components/schemas/ReviewStage","kind":"json-schema","title":"ReviewStage","data":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the review stage.","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"type":"string","maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"The name of the review stage."}}}},"components/schemas/BasicWorkflow":{"id":"components/schemas/BasicWorkflow","kind":"json-schema","title":"Workflow","data":{"type":"object","title":"Workflow","properties":{"id":{"type":"string","description":"The ID of the workflow.","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"type":"string","maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"The name of the workflow."}}}},"components/schemas/ArticleReviewDetails":{"id":"components/schemas/ArticleReviewDetails","kind":"json-schema","title":"ArticleReviewDetails","data":{"type":"object","description":"Review and workflow information for the article.","properties":{"currentReviewStage":{"description":"The current review stage for the article.","allOf":[{"$ref":"#/components/schemas/ReviewStage"}]},"previousReviewStage":{"description":"The previous review stage for the article.","allOf":[{"$ref":"#/components/schemas/ReviewStage"}]},"currentWorkflow":{"description":"The current workflow assigned to the article.","allOf":[{"$ref":"#/components/schemas/BasicWorkflow"}]},"lastReviewedBy":{"description":"The user who most recently reviewed the article.","allOf":[{"$ref":"#/components/schemas/BasicUser"}]}}}},"components/schemas/BasicFolderForArticle":{"id":"components/schemas/BasicFolderForArticle","kind":"json-schema","title":"Folder","data":{"title":"Folder","type":"object","required":["id"],"description":"The folder this article belongs to.","properties":{"id":{"description":"ID of folder.","type":"string","pattern":"^[1-9][0-9]*$","minLength":14,"maxLength":19},"name":{"readOnly":true,"type":"string","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Folder name."}}}},"components/schemas/CompliancePolicy":{"id":"components/schemas/CompliancePolicy","kind":"json-schema","title":"CompliancePolicy","data":{"type":"object","nullable":true,"title":"CompliancePolicy","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Compliance policy associated with the article; defines when users must complete the Read & Sign for an article."},"children":[],"type":"text"}],"type":"paragraph"}],"required":["id"],"properties":{"id":{"type":"string","pattern":"^[1-9][0-9]*$","maxLength":19,"description":"The ID of the compliance policy."},"name":{"type":"string","description":"The name of the compliance policy.","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","readOnly":true},"description":{"type":"string","maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"Description of the compliance policy.","readOnly":true},"sla":{"type":"integer","minimum":1,"description":"Service level agreement for compliance review, in days.","readOnly":true},"created":{"description":"Created date and created by user.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"lastModified":{"description":"Last modified date of current compliance policy.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]}}}},"components/schemas/Note":{"id":"components/schemas/Note","kind":"json-schema","title":"Note","data":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the note.","pattern":"^[1-9][0-9]*$","maxLength":19,"readOnly":true},"content":{"type":"string","description":"The note content. The maximum size is 1 KB. The number of characters that fit depends on the language.","minLength":1},"created":{"readOnly":true,"description":"Created date and created by user for the note.","allOf":[{"$ref":"#/components/schemas/DateAndUser"}]}}}},"components/schemas/ArticleAction":{"id":"components/schemas/ArticleAction","kind":"json-schema","title":"ArticleAction","data":{"type":"object","properties":{"id":{"type":"string","pattern":"^[1-9][0-9]*$","maxLength":19,"description":"The ID of the article action.","readOnly":true},"casebase":{"type":"object","title":"Casebase","description":"Casebase for this Guided Help association.","properties":{"id":{"type":"string","pattern":"^[1-9][0-9]*$","maxLength":19,"description":"The ID of the casebase."},"name":{"type":"string","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"The casebase name.","readOnly":true}}},"cluster":{"type":"object","title":"Cluster","description":"Cluster for this Guided Help association.","properties":{"id":{"type":"string","description":"The ID of the cluster.","pattern":"^[1-9][0-9]*$","maxLength":19},"name":{"type":"string","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","description":"The cluster name.","readOnly":true}}},"guidedHelpProfile":{"type":"object","title":"GuidedHelpProfile","description":"The Guided Help profile for this association.","properties":{"id":{"type":"string","description":"The ID of the Guided Help profile.","pattern":"^[1-9][0-9]*$","maxLength":19,"example":"1"},"name":{"type":"string","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","example":"system profile","description":"The Guided Help profile name.","readOnly":true}}},"isSearchable":{"type":"boolean","description":"When true, this article is included in portal hybrid search results."}}}},"components/schemas/SuggestionResolutionCode":{"id":"components/schemas/SuggestionResolutionCode","kind":"json-schema","title":"SuggestionResolutionCode","data":{"description":"Resolution applied when a suggestion is closed. Applies only to article suggestions.","allOf":[{"type":"object","properties":{"value":{"type":"string","description":"How a closed suggestion was resolved.\n","enum":["accept","reject","duplicate"]}}},{"$ref":"#/components/schemas/L10NString"}]}},"components/schemas/Article":{"id":"components/schemas/Article","kind":"json-schema","title":"Article","data":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the article.","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20,"example":"PROD-2996","readOnly":true},"links":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the resource type being added to the article—for example, topic or related article. Accepted "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" values are topic and article, respectively. The payload may use a comma-separated list of IDs in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"href"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or multiple Links."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"array","minItems":0,"maxItems":200,"writeOnly":true,"items":{"$ref":"#/components/schemas/Link"}},"unlinks":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Indicates the resource type being removed from the current article—for example, topic or related article. Accepted "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" values are topic and article, respectively. The payload may use a comma-separated list of IDs in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"href"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or multiple Links."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"array","minItems":0,"maxItems":200,"items":{"$ref":"#/components/schemas/Link"}},"name":{"type":"string","description":"The name of the article.","minLength":1,"maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$","readOnly":true},"lastModified":{"description":"Last modified date and user for the article.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"created":{"description":"Created date and created by user.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/DateAndUser"}]},"department":{"description":"Department the article belongs to.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/Department"}]},"macro":{"$ref":"#/components/schemas/Macro"},"suggestionStatus":{"readOnly":true,"allOf":[{"$ref":"#/components/schemas/SuggestionStatus"}]},"articleReviewDetails":{"readOnly":true,"allOf":[{"$ref":"#/components/schemas/ArticleReviewDetails"}]},"lockedBy":{"description":"User who currently has the article checked out, if any.","readOnly":true,"allOf":[{"$ref":"#/components/schemas/BasicUser"}]},"language":{"$ref":"#/components/schemas/Language"},"folder":{"$ref":"#/components/schemas/BasicFolderForArticle"},"compliancePolicy":{"$ref":"#/components/schemas/CompliancePolicy"},"notes":{"type":"array","maxItems":200,"description":"Notes attached to the article.","readOnly":true,"items":{"$ref":"#/components/schemas/Note"}},"relatedQuestions":{"description":"Related questions for the article.","type":"array","maxItems":100,"items":{"type":"string","maxLength":255,"pattern":"^(?!.*[^\\u0020-\\u003B\\u003D\\u003F-\\u005F\\u0061-\\u007E\\u00A0-\\uFFFF])(\\S.*\\S|\\S)?$"}},"linkAlias":{"type":"string","description":"Alternate identifier for the article, used in article-to-article links within content.","maxLength":36,"pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","readOnly":true},"customAttributes":{"type":"array","description":"Custom attribute values for this article. Each entry corresponds to an attribute definition that already exists in the system.","minItems":0,"maxItems":50,"items":{"$ref":"#/components/schemas/CustomAttributeL10N"}},"isPublishedVersionAvailable":{"type":"boolean","description":"Whether the article has a published and available version.","readOnly":true},"isPublishedVersionExpired":{"type":"boolean","description":"Whether the article's published version is expired.","readOnly":true},"isPublishedVersionScheduled":{"type":"boolean","description":"Whether the article has a published version scheduled to become available.","readOnly":true},"isLatestVersionInDraft":{"type":"boolean","description":"Whether the latest version of the article is in draft state.","readOnly":true},"articleAction":{"description":"Guided Help placements for this article. Each article action ties the article to a casebase, cluster, and profile so it participates in that guided help flow.","type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/ArticleAction"}},"suggestionResolutionCode":{"readOnly":true,"allOf":[{"$ref":"#/components/schemas/SuggestionResolutionCode"}]}}}},"components/schemas/GetArticleWithContent":{"id":"components/schemas/GetArticleWithContent","kind":"json-schema","title":"GetArticleWithContent","data":{"allOf":[{"type":"object","required":["id","name","lastModified","folder","versions"],"properties":{"unlinks":{"writeOnly":true},"versions":{"type":"array","description":"Only one article version relevant to the current context is returned in this list.","minItems":1,"maxItems":1,"items":{"allOf":[{"type":"object","required":["id","name","lastModified","articleState"],"properties":{"content":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Raw HTML content of the article version."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"An embedded inline image is returned as a tag carrying a generated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and a signed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"src"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" that is valid for 30 minutes."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"See "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the operation description."},"children":[],"type":"text"}],"type":"paragraph"}]}}},{"$ref":"#/components/schemas/Version"}]}}}},{"$ref":"#/components/schemas/Article"}]}},"components/schemas/GetArticleNoContent":{"id":"components/schemas/GetArticleNoContent","kind":"json-schema","title":"Article","data":{"title":"Article","allOf":[{"type":"object","required":["id","name","lastModified","folder","versions"],"properties":{"unlinks":{"writeOnly":true},"versions":{"type":"array","description":"Only one article version relevant to the current context is returned in this list.","minItems":1,"maxItems":1,"items":{"allOf":[{"type":"object","required":["id","name","lastModified","articleState"],"properties":{"content":{"writeOnly":true}}},{"$ref":"#/components/schemas/Version"}]}}}},{"$ref":"#/components/schemas/Article"}]}},"components/schemas/Articles":{"id":"components/schemas/Articles","kind":"json-schema","title":"Articles","data":{"type":"object","properties":{"paginationInfo":{"$ref":"#/components/schemas/PaginationInfo"},"articles":{"type":"array","minItems":0,"items":{"$ref":"#/components/schemas/GetArticleNoContent"}}}}},"components/schemas/EditArticle":{"id":"components/schemas/EditArticle","kind":"json-schema","title":"EditArticle","data":{"allOf":[{"type":"object","properties":{"versions":{"type":"array","description":"Version object with the fields to update. Omitted version properties are left\nunchanged.\n","minItems":1,"maxItems":1,"items":{"allOf":[{"type":"object","properties":{"attachments":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Article attachments."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The supplied array replaces the current one in full. Reference an"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"attachment that should remain by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and add a newly uploaded file"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Each entry uses one form or the other; supplying"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"both "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or neither, is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Any attachment not referenced in the array is removed from the version."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"To remove all attachments, send an empty array ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Omitting the property"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"leaves the current attachments unchanged."},"children":[],"type":"text"}],"type":"paragraph"}]},"content":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Raw HTML content of the article version. The maximum size is 2 MB. The"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"number of characters that fit depends on the language."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The supplied content replaces the current one in full and is authoritative"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"for the version's inline images. Keep an existing image by leaving its"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<img id=\"…\">"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" tag in place, add one by putting a pre-uploaded"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the tag, and remove one by dropping its tag. A tag"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"carrying both "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response. See"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in the operation description. Omitting the property"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"leaves the current content unchanged."},"children":[],"type":"text"}],"type":"paragraph"}]},"expirationDate":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The date that the version expires, in UTC. Expiration date must not be more"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"than 5 years into the future."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To remove the expiration date, so that the version does not expire, send"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Omitting the property leaves the current expiration date unchanged."},"children":[],"type":"text"}],"type":"paragraph"}]},"structuredAuthoring":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This property is only applicable when structured authoring is enabled for the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"article type and department."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To remove structured authoring details from the version, send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". This"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"clears "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"confidenceLevel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"environment"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"issueDescription"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"issueCause"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"together. Omitting the property leaves the current details unchanged."},"children":[],"type":"text"}],"type":"paragraph"}]},"personalization":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Personalization controls article access, search filtering, and publish views."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To unassign personalization from the article, send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". This clears"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"accessTagCategories"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"filterTagCategories"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"publishViews"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" together."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Omitting the property leaves the current personalization unchanged."},"children":[],"type":"text"}],"type":"paragraph"}]}}},{"$ref":"#/components/schemas/Version"}]}},"macro":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Macros are embeddable shortcuts to article content — they substitute lengthy or dynamic text with"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"short values. If a new macro is created while editing an article, the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"name"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field is required."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To unassign the macro from the article, send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Omitting the property leaves the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"current macro unchanged."},"children":[],"type":"text"}],"type":"paragraph"}]},"compliancePolicy":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Compliance policy associated with the article; defines when users must complete the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Read & Sign for an article."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To remove the compliance policy from the article, send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Omitting the property"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"leaves the current compliance policy unchanged."},"children":[],"type":"text"}],"type":"paragraph"}]},"relatedQuestions":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Related questions for the article."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The supplied array replaces the current list in full. To add or remove individual"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"questions, send the complete list as it should read after the edit."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"To remove all related questions, send an empty array ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Omitting the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"property leaves the current list unchanged."},"children":[],"type":"text"}],"type":"paragraph"}]},"customAttributes":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Custom attribute values for this article. Each entry corresponds to an attribute"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"definition that already exists in the system."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The supplied array replaces the current set in full. To unassign the values of an"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"individual custom attribute, send the array containing only the attributes that"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"should remain. To unassign the values of every custom attribute at once, send an"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"empty array ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Omitting the property leaves the current custom attributes"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unchanged."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"attribValues"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" requires at least one value, so an individual attribute's values"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cannot be cleared by sending it with an empty "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"attribValues"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" array. Omit that"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"attribute from the supplied "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"customAttributes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" array instead."},"children":[],"type":"text"}],"type":"paragraph"}]},"language":{"readOnly":true},"folder":{"readOnly":true}}},{"$ref":"#/components/schemas/Article"}]}},"components/schemas/CreateArticleAttachment":{"id":"components/schemas/CreateArticleAttachment","kind":"json-schema","title":"Attachment","data":{"title":"Attachment","allOf":[{"type":"object","properties":{"id":{"readOnly":true}}},{"$ref":"#/components/schemas/Attachment"}]}},"components/schemas/CreateVersion":{"id":"components/schemas/CreateVersion","kind":"json-schema","title":"Version","data":{"title":"Version","allOf":[{"type":"object","required":["name"],"properties":{"isMajorUpdate":{"readOnly":true},"label":{"readOnly":true},"content":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Raw HTML content of the article version. The maximum size is 2 MB. The number of"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"characters that fit depends on the language."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"To embed an image, pre-upload it as an inline image and place the returned"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" as an attribute on the tag that renders the image — for example,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<img fileUploadId=\"c1f0a3d2-9b47-4e15-8a6c-2d7e5f4b8091\" />"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". See "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Inline images"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"in the operation description."},"children":[],"type":"text"}],"type":"paragraph"}]},"attachments":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Article attachments. Use this to add new attachments to the article."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Only "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is accepted on Create."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"array","items":{"$ref":"#/components/schemas/CreateArticleAttachment"}}}},{"$ref":"#/components/schemas/Version"}]}},"components/schemas/CreateArticle":{"id":"components/schemas/CreateArticle","kind":"json-schema","title":"CreateArticle","data":{"allOf":[{"type":"object","required":["folder","language","versions"],"properties":{"language":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The source language of the article: the knowledge base language in which the supplied"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"versions"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" content is authored. The article itself is created in every enabled knowledge"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"base language. Must be one of the enabled Knowledge Base languages."},"children":[],"type":"text"}],"type":"paragraph"}],"allOf":[{"$ref":"#/components/schemas/Language"}]},"versions":{"type":"array","description":"Article version to create.","minItems":1,"maxItems":1,"items":{"$ref":"#/components/schemas/CreateVersion"}},"macro":{"required":["name"],"properties":{"name":{}}},"unlinks":{"readOnly":true}}},{"$ref":"#/components/schemas/Article"}]}},"schema_0":{"kind":"json-schema","data":{"type":"string","example":"7A84B875-6F75-4C7B-B137-0632B62DB0BD","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"type":"object","properties":{"location":{"type":"string","example":"/knowledge/contentmgr/v4/import/content/7A84B-Y42R-J1B-5D-14VD/status","description":"The URL to check the status of the import job."}}},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"type":"object","properties":{"location":{"type":"string","example":"/knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Location Header"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This header contains the URL to check the status of your import job. The job ID (7A84B875-6F75-4C7B-B137-0632B62DB0BD in this example) is your unique identifier for tracking this operation."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Usage:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"GET /knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n","language":"bash"},"children":[{"$$mdtype":"Node","attributes":{"content":"GET /knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n"},"children":[],"type":"text"}],"type":"fence"}]}}},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"type":"string","enum":["import_pre_validation_hook","import_post_validation_hook"]},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"type":"integer","minimum":1,"maximum":9999999999},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"type":"boolean","default":false},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"object","properties":{"location":{"type":"string","example":"/knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Location Header"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This header contains the URL to check the status of your validation job. The job ID (7A84B875-6F75-4C7B-B137-0632B62DB0BD in this example) is your unique identifier for tracking this operation."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Usage:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"GET /knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n","language":"bash"},"children":[{"$$mdtype":"Node","attributes":{"content":"GET /knowledge/contentmgr/v4/import/content/7A84B875-6F75-4C7B-B137-0632B62DB0BD/status\n"},"children":[],"type":"text"}],"type":"fence"}]}}},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"type":"string","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20,"example":"PROD-2996"},"id":"schema_7"},"schema_8":{"kind":"json-schema","data":{"type":"string","enum":["published","latest"]},"id":"schema_8"},"schema_9":{"kind":"json-schema","data":{"$ref":"#/components/schemas/KnowledgeBaseLanguageCode"},"id":"schema_9"},"schema_10":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["department","created","macro","suggestionStatus","articleReviewDetails","lockedBy","language","notes","relatedQuestions","linkAlias","customAttributes","isPublishedVersionAvailable","isPublishedVersionExpired","isPublishedVersionScheduled","isLatestVersionInDraft","articleAction","suggestionResolutionCode","compliancePolicy","versions.versionNumber","versions.created","versions.description","versions.keywords","versions.summary","versions.additionalInfo","versions.content","versions.structuredAuthoring","versions.availabilityDate","versions.expirationDate","versions.label","versions.imageUrl","versions.attachments","versions.articleType","versions.translationStatus","versions.availableEditions","versions.personalization","versions.ownedBy","versions.isMajorUpdate","versions.includeInGenAI"]}},"id":"schema_10"},"schema_11":{"kind":"json-schema","data":{"type":"string","default":"application/json","enum":["application/json"]},"id":"schema_11"},"schema_12":{"kind":"json-schema","data":{"$ref":"#/components/schemas/LoginLanguage"},"id":"schema_12"},"schema_13":{"kind":"json-schema","data":{"type":"object","properties":{"ETag":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","minLength":20,"maxLength":24,"example":"2026-04-15T09:00:00.000Z","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"UTC ISO-8601 timestamp identifying the resource version for use with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header on subsequent updates."},"children":[],"type":"text"}],"type":"paragraph"}]}}},"id":"schema_13"},"schema_14":{"kind":"json-schema","data":{"type":"string","pattern":"^([a-zA-Z0-9]{2,4}-\\d{4,15})(,[a-zA-Z0-9]{2,4}-\\d{4,15}){0,74}$","minLength":7,"maxLength":1574,"example":"PROD-2268,PROD-2269"},"id":"schema_14"},"schema_15":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["department","created","macro","suggestionStatus","articleReviewDetails","lockedBy","language","notes","relatedQuestions","linkAlias","customAttributes","isPublishedVersionAvailable","isPublishedVersionExpired","isPublishedVersionScheduled","isLatestVersionInDraft","articleAction","suggestionResolutionCode","compliancePolicy","versions.versionNumber","versions.created","versions.description","versions.keywords","versions.summary","versions.additionalInfo","versions.structuredAuthoring","versions.availabilityDate","versions.expirationDate","versions.label","versions.imageUrl","versions.attachments","versions.articleType","versions.translationStatus","versions.availableEditions","versions.personalization","versions.ownedBy","versions.isMajorUpdate","versions.includeInGenAI"]}},"id":"schema_15"},"schema_16":{"kind":"json-schema","data":{"type":"integer","format":"int64","minimum":1,"maximum":999,"default":1},"id":"schema_16"},"schema_17":{"kind":"json-schema","data":{"type":"integer","format":"int64","minimum":1,"maximum":75,"default":10},"id":"schema_17"},"schema_18":{"kind":"json-schema","data":{"type":"string","enum":["edit","checkin","publish"],"example":"edit"},"id":"schema_18"},"schema_19":{"kind":"json-schema","data":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","minLength":20,"maxLength":24,"example":"2026-04-15T09:00:00.000Z"},"id":"schema_19"},"schema_20":{"kind":"json-schema","data":{"type":"object","properties":{"location":{"type":"string","example":"/knowledge/contentmgr/v4/articles/DEV-5401","description":"Self link of the created article"},"ETag":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","minLength":20,"maxLength":24,"example":"2026-04-15T09:00:00.000Z","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"UTC ISO-8601 timestamp identifying the resource version for use with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header on subsequent updates."},"children":[],"type":"text"}],"type":"paragraph"}]}}},"id":"schema_20"},"schema_21":{"kind":"json-schema","data":{"type":"object","properties":{"location":{"type":"string","example":"/knowledge/contentmgr/v4/folders/409600000154385","description":"Self link of the created folder"},"ETag":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","minLength":20,"maxLength":24,"example":"2026-04-15T09:00:00.000Z","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"UTC ISO-8601 timestamp identifying the resource version for use with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header on subsequent updates."},"children":[],"type":"text"}],"type":"paragraph"}]}}},"id":"schema_21"},"schema_22":{"kind":"json-schema","data":{"type":"string","pattern":"^999$|^[1-9][0-9]{3,8}$","example":"999","minLength":3,"maxLength":9},"id":"schema_22"},"schema_23":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["created","description","department","translateContent","permissions","articleCount","language","path","isSystemCreated","subFolderCount"]}},"id":"schema_23"},"schema_24":{"kind":"json-schema","data":{"type":"string","enum":["asc","desc"],"example":"asc"},"id":"schema_24"},"schema_25":{"kind":"json-schema","data":{"type":"integer","default":0,"minimum":0,"maximum":20,"example":1},"id":"schema_25"},"schema_26":{"kind":"json-schema","data":{"type":"string","example":"name","default":"id","enum":["id","name","description","created","lastModified"]},"id":"schema_26"},"schema_27":{"kind":"json-schema","data":{"type":"string","pattern":"^[1-9][0-9]*$","minLength":14,"maxLength":19},"id":"schema_27"},"schema_28":{"kind":"json-schema","data":{"type":"string","pattern":"^[1-9][0-9]{13,18}(,[1-9][0-9]{13,18}){0,74}$","minLength":14,"maxLength":1499},"id":"schema_28"},"schema_29":{"kind":"json-schema","data":{"type":"boolean"},"id":"schema_29"},"schema_30":{"kind":"json-schema","data":{"type":"object","properties":{"location":{"type":"string","example":"/core/infomgr/v4/async/job/2F8ABBAC-783B-43CC-8A30-371D9C461656","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"URL of "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"../apis/v4/core/infomgr/api-bundled/jobs/getasyncjobstatus"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get Async Job Status"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/core/infomgr/v4/async/job/{jobID}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") for this deletion. The final path segment is the job ID; poll this URL to check the job's outcome."},"children":[],"type":"text"}],"type":"paragraph"}]}}},"id":"schema_30"},"schema_31":{"kind":"json-schema","data":{"type":"object","properties":{"location":{"type":"string","example":"/knowledge/contentmgr/v4/topics/KB-2270","description":"Self link of the created topic"},"ETag":{"type":"string","format":"date-time","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z$","minLength":20,"maxLength":24,"example":"2026-04-15T09:00:00.000Z","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"UTC ISO-8601 timestamp identifying the resource version for use with the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"If-Match"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header on subsequent updates."},"children":[],"type":"text"}],"type":"paragraph"}]}}},"id":"schema_31"},"schema_32":{"kind":"json-schema","data":{"type":"string","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20},"id":"schema_32"},"schema_33":{"kind":"json-schema","data":{"type":"string","pattern":"^999$|^[1-9][0-9]{3,8}$","minLength":3,"maxLength":9},"id":"schema_33"},"schema_34":{"kind":"json-schema","data":{"type":"string","enum":["manual","topicsFromFolder"]},"id":"schema_34"},"schema_35":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","enum":["created","description","department","translateContent","articleCount","language","path","subTopicCount","imageUrl","articleForTopicHomeContent","customAttributes","generatedFromFolderId"]}},"id":"schema_35"},"schema_36":{"kind":"json-schema","data":{"type":"string","pattern":"^([a-zA-Z0-9]{2,4}-\\d{4,15})(,[a-zA-Z0-9]{2,4}-\\d{4,15}){0,74}$","minLength":7,"maxLength":1574,"example":"KB-2268,KB-2269"},"id":"schema_36"},"schema_37":{"kind":"json-schema","data":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[^~`!#$%\\^*()=\\[\\],;'\"|<>\\/?+{}]+$"},"id":"schema_37"},"schema_38":{"kind":"json-schema","data":{"$ref":"#/components/schemas/LegacyKBLanguageCodes"},"id":"schema_38"},"schema_39":{"kind":"json-schema","data":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\w\\W]*$"},"id":"schema_39"},"schema_40":{"kind":"json-schema","data":{"type":"string","enum":["advisor","knowledge","knowledge-intelligence","knowledge-orchestration","custom"]},"id":"schema_40"},"schema_41":{"kind":"json-schema","data":{"type":"string","pattern":"^[a-zA-Z0-9]{2,4}-\\d{4,15}$","minLength":7,"maxLength":20,"example":"PROD-4582"},"id":"schema_41"}},"exampleStore":{"components/examples/Required_Attribute_Missing":{"id":"components/examples/Required_Attribute_Missing","value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"description":"Required query parameter is missing"},"components/examples/Unallowed_Attribute_Value":{"id":"components/examples/Unallowed_Attribute_Value","value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"description":"One of the attribute has value which is not allowed"},"components/examples/Invalid_Authorization":{"id":"components/examples/Invalid_Authorization","value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n"},"components/examples/Scope_Not_Assigned":{"id":"components/examples/Scope_Not_Assigned","value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n"},"components/examples/NotAcceptable":{"id":"components/examples/NotAcceptable","value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."}},"components/examples/Too_Many_Request":{"id":"components/examples/Too_Many_Request","value":{"code":"429-001","developerMessage":"Too many requests."},"description":"Too many requests. Try again at a later time.\n"},"components/examples/InternalServerError":{"id":"components/examples/InternalServerError","value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."}},"components/examples/duplicate_name":{"id":"components/examples/duplicate_name","value":{"code":"409-102","developerMessage":"The following name is already in use under the same parent in this language: <name>."},"description":"The name is already used by a sibling of the same language under the same parent."},"components/examples/unprocessable_content":{"id":"components/examples/unprocessable_content","value":{"code":"422-100","developerMessage":"The operation cannot be performed on the specified resource in its current state: <id>."},"description":"The request is well formed and schema-valid, but the current state of a resource it references does not allow the operation."},"components/examples/Resource_Not_Found":{"id":"components/examples/Resource_Not_Found","value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"description":"Resource not found"},"components/examples/precondition_failed":{"id":"components/examples/precondition_failed","value":{"code":"412-100","developerMessage":"Pre condition failed"}},"components/examples/UnsupportedParameters":{"id":"components/examples/UnsupportedParameters","value":{"code":"400-101","developerMessage":"Unsupported query parameter(s) supplied: '<query_parameter>'."}},"components/examples/InvalidValue":{"id":"components/examples/InvalidValue","value":{"code":"400-152","developerMessage":"Invalid value is provided in the request body for the following attribute:'<attribute_name>'."}},"components/examples/MissingParameter":{"id":"components/examples/MissingParameter","value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: '<query_parameter>'."}},"components/examples/Unauthorized":{"id":"components/examples/Unauthorized","value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."}},"components/examples/Forbidden":{"id":"components/examples/Forbidden","value":{"code":"403-178","developerMessage":"User is not allowed to perform the following action: <action_name>."}},"components/examples/NotFound":{"id":"components/examples/NotFound","value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."}},"components/examples/InvalidAcceptLanguage":{"id":"components/examples/InvalidAcceptLanguage","value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."}},"components/examples/PauseConflictStatus":{"id":"components/examples/PauseConflictStatus","value":{"code":"409-103","developerMessage":"Job <job_id> could not be paused because it is in status: <status>."}},"components/examples/ConflictValidation":{"id":"components/examples/ConflictValidation","value":{"code":"409-102","developerMessage":"Job <job_id> is a validation job and cannot be paused or resumed."}},"components/examples/ResumeConflictStatus":{"id":"components/examples/ResumeConflictStatus","value":{"code":"409-104","developerMessage":"Job <job_id> could not be resumed because it is in status: <status>."}},"components/examples/LimitExceeded":{"id":"components/examples/LimitExceeded","value":{"code":"400-10424","developerMessage":"Limit exceeded. The allowed limit for '{0}' is '{1}'."}},"components/examples/GetArticlePublishedSummary":{"id":"components/examples/GetArticlePublishedSummary","value":{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"folder":{"id":"20240000000123","name":"Account Management"},"versions":[{"id":"1","name":"How to reset your password","lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"articleState":"published"}]},"summary":"Summary attributes for published article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/article/PROD-2996?versionSelector=published"},"children":[],"type":"code"}],"type":"paragraph"}]},"components/examples/GetArticleDraftAllAttributes":{"id":"components/examples/GetArticleDraftAllAttributes","value":{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"department":{"id":"1000","name":"Service"},"macro":{"name":"password_reset_support_hours","isSystemCreated":false,"description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997","name":"Password reset overview"}},"articleReviewDetails":{"currentReviewStage":{"id":"1000","name":"Draft"},"previousReviewStage":{"id":"1001","name":"Published"},"currentWorkflow":{"id":"999","name":"Default Workflow"},"lastReviewedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lockedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"compliancePolicy":{"id":"5001","name":"Quarterly acknowledgement","description":"Agents must acknowledge this guidance each quarter.","sla":30,"created":{"date":"2026-01-10T09:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}},"lastModified":{"date":"2026-03-01T12:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}}},"notes":[{"id":"7001","content":"Updated draft to reflect the new sign-in experience.","created":{"date":"2026-04-20T16:15:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"linkAlias":"247A11B1-A559-4176-B562-B88F94C960E5","versions":[{"id":"2","name":"How to reset your password","versionNumber":2,"created":{"date":"2026-04-19T08:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"description":"Updated steps for the new sign-in page.","keywords":"password reset,sign-in,troubleshooting","summary":"Adds the current self-service reset path.","additionalInfo":"Applies to SSO and local accounts.","content":"<p>Open the sign-in page, select <b>Forgot password</b>, and follow the emailed reset instructions.</p><p><img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" src=\"https://api.egain.cloud/core/filemgr/v4/assets/download?signature=35674B764E7848586E786...\" alt=\"Forgot password link\" width=\"480\" /></p>","label":"Updated sign-in experience","imageUrl":"https://www.example.com/images/kb/password-reset-draft.png","attachments":[{"id":"9001","name":"password-reset-checklist.pdf","mediaType":"application/pdf","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=4A7B2C91E05D3F68B1C42...","size":48213,"created":{"date":"2026-04-19T08:35:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"articleType":{"id":"932100000002020","name":"General","description":"Standard how-to article.","articleCategoryId":1,"useStructuredAuthoring":false,"imageUrl":"","isSearchable":true,"isDisplayable":true,"isSystemCreated":true},"articleState":"draft","translationStatus":"upto_date","availableEditions":[{"id":"100","name":"Default web","isContentEdition":true,"publishView":{"id":"200","name":"All customers"}}],"personalization":{"accessTagCategories":[{"id":"300","name":"Audience","tags":[{"id":"301","name":"Customer"}],"tagGroups":[{"id":"330","name":"Premium Customers"}]}],"filterTagCategories":[{"id":"310","name":"ProductArea","tags":[{"id":"311","name":"Identity"}],"tagGroups":[{"id":"340","name":"Identity Services"}]}],"publishViews":[{"id":"320","name":"Password reset web view","tagCategories":[{"id":"321","name":"Channel","tags":[{"id":"322","name":"Web"}],"tagGroups":[{"id":"323","name":"Digital Channels"}]}]}]},"ownedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"availabilityDate":"2026-04-19T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","isMajorUpdate":true,"includeInGenAI":true}],"customAttributes":[{"attribInternalName":"audience","attribName":{"value":"Audience","displayValue":"Audience"},"attribValues":[{"value":"Administrators","displayValue":"Administrators"}],"attribType":"single_select_list"}],"isPublishedVersionAvailable":true,"isPublishedVersionExpired":false,"isPublishedVersionScheduled":false,"isLatestVersionInDraft":true,"articleAction":[{"id":"3001","casebase":{"id":"4101","name":"Authentication Casebase"},"cluster":{"id":"5101","name":"Account Access"},"guidedHelpProfile":{"id":"6101","name":"Default Guided Help"},"isSearchable":true}]},"summary":"All attributes for draft article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/article/PROD-2996?versionSelector=latest&articleAdditionalAttributes=department,created,macro,articleReviewDetails,..."},"children":[],"type":"code"}],"type":"paragraph"}]},"components/examples/GetArticlePublishedAllAttributes":{"id":"components/examples/GetArticlePublishedAllAttributes","value":{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"department":{"id":"1000","name":"Service"},"macro":{"name":"password_reset_support_hours","isSystemCreated":false,"description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997","name":"Password reset overview"}},"articleReviewDetails":{"currentReviewStage":{"id":"1001","name":"Published"},"previousReviewStage":{"id":"1000","name":"Draft"},"currentWorkflow":{"id":"999","name":"Default Workflow"},"lastReviewedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lockedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"compliancePolicy":{"id":"5001","name":"Quarterly acknowledgement","description":"Agents must acknowledge this guidance each quarter.","sla":30,"created":{"date":"2026-01-10T09:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}},"lastModified":{"date":"2026-03-01T12:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}}},"notes":[{"id":"7001","content":"Updated draft to reflect the new sign-in experience.","created":{"date":"2026-04-20T16:15:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"linkAlias":"B7A795B2-C469-4B02-B783-9BD176ED22CB","versions":[{"id":"1","name":"How to reset your password","versionNumber":1,"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"description":"Published guidance for the current self-service reset path.","keywords":"password reset,sign-in,troubleshooting","summary":"Provides the currently published reset steps.","additionalInfo":"Applies to SSO and local accounts.","content":"<p>Open the sign-in page, select <b>Forgot password</b>, and follow the emailed reset instructions.</p><p><img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" src=\"https://api.egain.cloud/core/filemgr/v4/assets/download?signature=35674B764E7848586E786...\" alt=\"Forgot password link\" width=\"480\" /></p>","structuredAuthoring":{"confidenceLevel":{"value":"validated","displayValue":"Validated"},"environment":"Online banking portal, Account Management","issueDescription":"Customer cannot complete password reset after being redirected from the sign-in page.","issueCause":"Redirect URI mismatch between the portal and the identity provider."},"label":"Published sign-in guidance","imageUrl":"https://www.example.com/images/kb/password-reset-published.png","attachments":[{"id":"9001","name":"password-reset-checklist.pdf","mediaType":"application/pdf","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=4A7B2C91E05D3F68B1C42...","size":48213,"created":{"date":"2026-04-15T09:05:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"articleType":{"id":"932100000002021","name":"Issue resolution","description":"How-to article that uses structured authoring.","articleCategoryId":1,"useStructuredAuthoring":true,"imageUrl":"","isSearchable":true,"isDisplayable":true,"isSystemCreated":true},"articleState":"published","translationStatus":"upto_date","availableEditions":[{"id":"100","name":"Default web","isContentEdition":true,"publishView":{"id":"200","name":"All customers"}}],"personalization":{"accessTagCategories":[{"id":"300","name":"Audience","tags":[{"id":"301","name":"Customer"}],"tagGroups":[{"id":"330","name":"Premium Customers"}]}],"filterTagCategories":[{"id":"310","name":"ProductArea","tags":[{"id":"311","name":"Identity"}],"tagGroups":[{"id":"340","name":"Identity Services"}]}],"publishViews":[{"id":"320","name":"Password reset web view","tagCategories":[{"id":"321","name":"Channel","tags":[{"id":"322","name":"Web"}],"tagGroups":[{"id":"323","name":"Digital Channels"}]}]}]},"ownedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"availabilityDate":"2026-04-15T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","isMajorUpdate":false,"includeInGenAI":true}],"customAttributes":[{"attribInternalName":"audience","attribName":{"value":"Audience","displayValue":"Audience"},"attribValues":[{"value":"Administrators","displayValue":"Administrators"}],"attribType":"single_select_list"}],"isPublishedVersionAvailable":true,"isPublishedVersionExpired":false,"isPublishedVersionScheduled":false,"isLatestVersionInDraft":true,"articleAction":[{"id":"3001","casebase":{"id":"4101","name":"Authentication Casebase"},"cluster":{"id":"5101","name":"Account Access"},"guidedHelpProfile":{"id":"6101","name":"Default Guided Help"},"isSearchable":true}]},"summary":"All attributes for published article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/article/PROD-2996?versionSelector=published&articleAdditionalAttributes=department,created,versions.structuredAuthoring,..."},"children":[],"type":"code"}],"type":"paragraph"}]},"components/examples/GetArticleSuggestionAllAttributes":{"id":"components/examples/GetArticleSuggestionAllAttributes","value":{"id":"PROD-5401","name":"Clarify VPN access after password reset","lastModified":{"date":"2026-05-02T11:20:00.000Z","user":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"created":{"date":"2026-05-01T14:10:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}},"department":{"id":"1000","name":"Service"},"suggestionStatus":{"value":"declined","displayValue":"Declined"},"suggestionResolutionCode":{"value":"duplicate","displayValue":"Duplicate"},"articleReviewDetails":{"currentReviewStage":{"id":"2002","name":"Declined"},"previousReviewStage":{"id":"2001","name":"Pending Review"},"currentWorkflow":{"id":"1999","name":"Suggestion Workflow"},"lastReviewedBy":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"notes":[{"id":"7101","content":"Customer feedback indicates VPN reconnection is commonly missed.","created":{"date":"2026-05-01T15:00:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}}}],"linkAlias":"2B6B8A3E-72E4-408F-B675-8FE3A272FF7D","versions":[{"id":"1","name":"Clarify VPN access after password reset","versionNumber":1,"created":{"date":"2026-05-01T14:10:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}},"lastModified":{"date":"2026-05-02T11:20:00.000Z","user":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"description":"Suggestion to clarify the VPN follow-up step after a password reset.","content":"<p>After you reset your password, disconnect and reconnect to VPN so your new credentials take effect.</p>","label":"Customer feedback suggestion","attachments":[{"id":"9101","name":"vpn-reconnect-screenshot.png","mediaType":"image/png","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=7E19D04B6C2A58F3E9B17...","size":118204,"created":{"date":"2026-05-01T14:20:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}}}],"articleType":{"id":"999900000002027","name":"Suggestion","description":"Used exclusively for suggestions","articleCategoryId":4,"useStructuredAuthoring":false,"imageUrl":"","isSearchable":false,"isDisplayable":false,"isSystemCreated":true},"articleState":"draft","translationStatus":"outdated","ownedBy":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"},"availabilityDate":"2026-05-01T14:10:00.000Z","expirationDate":"2027-05-01T23:59:59.000Z","includeInGenAI":false}],"customAttributes":[{"attribInternalName":"sourceChannel","attribName":{"value":"Source Channel","displayValue":"Source Channel"},"attribValues":[{"value":"Customer Portal Feedback","displayValue":"Customer Portal Feedback"}],"attribType":"string"}]},"summary":"All applicable attributes for suggestion article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/article/PROD-5401?versionSelector=latest&articleAdditionalAttributes=department,created,suggestionStatus,suggestionResolutionCode,..."},"children":[],"type":"code"}],"type":"paragraph"}]},"components/examples/GetArticlesByIdsSummary":{"id":"components/examples/GetArticlesByIdsSummary","value":{"paginationInfo":{"count":2,"pagenum":1,"pagesize":2},"articles":[{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"folder":{"id":"20240000000123","name":"Account Management"},"versions":[{"id":"1","name":"How to reset your password","lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"articleState":"published"}]},{"id":"PROD-4102","name":"Unlock a temporarily locked account","lastModified":{"date":"2026-05-02T09:15:00.000Z","user":{"id":"1011","userName":"mrivera","firstName":"Morgan","lastName":"Rivera"}},"folder":{"id":"20240000000123","name":"Account Management"},"versions":[{"id":"4","name":"Unlock a temporarily locked account","lastModified":{"date":"2026-05-02T09:15:00.000Z","user":{"id":"1011","userName":"mrivera","firstName":"Morgan","lastName":"Rivera"}},"articleState":"published"}]}]},"summary":"Summary attributes for published articles","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/articles/PROD-2996,PROD-4102?versionSelector=published&$lang=en-US&$pagenum=1&$pagesize=2"},"children":[],"type":"code"}],"type":"paragraph"}]},"components/examples/GetArticlesByIdsDraftAllAttributes":{"id":"components/examples/GetArticlesByIdsDraftAllAttributes","value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":1},"articles":[{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"department":{"id":"1000","name":"Service"},"macro":{"name":"password_reset_support_hours","isSystemCreated":false,"description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997","name":"Password reset overview"}},"articleReviewDetails":{"currentReviewStage":{"id":"1000","name":"Draft"},"previousReviewStage":{"id":"1001","name":"Published"},"currentWorkflow":{"id":"999","name":"Default Workflow"},"lastReviewedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lockedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"compliancePolicy":{"id":"5001","name":"Quarterly acknowledgement","description":"Agents must acknowledge this guidance each quarter.","sla":30,"created":{"date":"2026-01-10T09:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}},"lastModified":{"date":"2026-03-01T12:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}}},"notes":[{"id":"7001","content":"Updated draft to reflect the new sign-in experience.","created":{"date":"2026-04-20T16:15:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"linkAlias":"247A11B1-A559-4176-B562-B88F94C960E5","versions":[{"id":"2","name":"How to reset your password","versionNumber":2,"created":{"date":"2026-04-19T08:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"description":"Updated steps for the new sign-in page.","keywords":"password reset,sign-in,troubleshooting","summary":"Adds the current self-service reset path.","additionalInfo":"Applies to SSO and local accounts.","label":"Updated sign-in experience","imageUrl":"https://www.example.com/images/kb/password-reset-draft.png","attachments":[{"id":"9001","name":"password-reset-checklist.pdf","mediaType":"application/pdf","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=4A7B2C91E05D3F68B1C42...","size":48213,"created":{"date":"2026-04-19T08:35:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"articleType":{"id":"932100000002020","name":"General","description":"Standard how-to article.","articleCategoryId":1,"useStructuredAuthoring":false,"imageUrl":"","isSearchable":true,"isDisplayable":true,"isSystemCreated":true},"articleState":"draft","translationStatus":"upto_date","availableEditions":[{"id":"100","name":"Default web","isContentEdition":true,"publishView":{"id":"200","name":"All customers"}}],"personalization":{"accessTagCategories":[{"id":"300","name":"Audience","tags":[{"id":"301","name":"Customer"}],"tagGroups":[{"id":"330","name":"Premium Customers"}]}],"filterTagCategories":[{"id":"310","name":"ProductArea","tags":[{"id":"311","name":"Identity"}],"tagGroups":[{"id":"340","name":"Identity Services"}]}],"publishViews":[{"id":"320","name":"Password reset web view","tagCategories":[{"id":"321","name":"Channel","tags":[{"id":"322","name":"Web"}],"tagGroups":[{"id":"323","name":"Digital Channels"}]}]}]},"ownedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"availabilityDate":"2026-04-19T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","isMajorUpdate":true,"includeInGenAI":true}],"customAttributes":[{"attribInternalName":"audience","attribName":{"value":"Audience","displayValue":"Audience"},"attribValues":[{"value":"Administrators","displayValue":"Administrators"}],"attribType":"single_select_list"}],"isPublishedVersionAvailable":true,"isPublishedVersionExpired":false,"isPublishedVersionScheduled":false,"isLatestVersionInDraft":true,"articleAction":[{"id":"3001","casebase":{"id":"4101","name":"Authentication Casebase"},"cluster":{"id":"5101","name":"Account Access"},"guidedHelpProfile":{"id":"6101","name":"Default Guided Help"},"isSearchable":true}]}]},"summary":"All attributes for draft article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/articles/PROD-2996?versionSelector=latest&$lang=en-US&articleAdditionalAttributes=department,created,macro,articleReviewDetails,...&$pagenum=1&$pagesize=1"},"children":[],"type":"code"}],"type":"paragraph"}]},"components/examples/GetArticlesByIdsPublishedAllAttributes":{"id":"components/examples/GetArticlesByIdsPublishedAllAttributes","value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":1},"articles":[{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"department":{"id":"1000","name":"Service"},"macro":{"name":"password_reset_support_hours","isSystemCreated":false,"description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997","name":"Password reset overview"}},"articleReviewDetails":{"currentReviewStage":{"id":"1001","name":"Published"},"previousReviewStage":{"id":"1000","name":"Draft"},"currentWorkflow":{"id":"999","name":"Default Workflow"},"lastReviewedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lockedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"compliancePolicy":{"id":"5001","name":"Quarterly acknowledgement","description":"Agents must acknowledge this guidance each quarter.","sla":30,"created":{"date":"2026-01-10T09:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}},"lastModified":{"date":"2026-03-01T12:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}}},"notes":[{"id":"7001","content":"Updated draft to reflect the new sign-in experience.","created":{"date":"2026-04-20T16:15:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"linkAlias":"B7A795B2-C469-4B02-B783-9BD176ED22CB","versions":[{"id":"1","name":"How to reset your password","versionNumber":1,"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"description":"Published guidance for the current self-service reset path.","keywords":"password reset,sign-in,troubleshooting","summary":"Provides the currently published reset steps.","additionalInfo":"Applies to SSO and local accounts.","structuredAuthoring":{"confidenceLevel":{"value":"validated","displayValue":"Validated"},"environment":"Online banking portal, Account Management","issueDescription":"Customer cannot complete password reset after being redirected from the sign-in page.","issueCause":"Redirect URI mismatch between the portal and the identity provider."},"label":"Published sign-in guidance","imageUrl":"https://www.example.com/images/kb/password-reset-published.png","attachments":[{"id":"9001","name":"password-reset-checklist.pdf","mediaType":"application/pdf","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=4A7B2C91E05D3F68B1C42...","size":48213,"created":{"date":"2026-04-15T09:05:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"articleType":{"id":"932100000002021","name":"Issue resolution","description":"How-to article that uses structured authoring.","articleCategoryId":1,"useStructuredAuthoring":true,"imageUrl":"","isSearchable":true,"isDisplayable":true,"isSystemCreated":true},"articleState":"published","translationStatus":"upto_date","availableEditions":[{"id":"100","name":"Default web","isContentEdition":true,"publishView":{"id":"200","name":"All customers"}}],"personalization":{"accessTagCategories":[{"id":"300","name":"Audience","tags":[{"id":"301","name":"Customer"}],"tagGroups":[{"id":"330","name":"Premium Customers"}]}],"filterTagCategories":[{"id":"310","name":"ProductArea","tags":[{"id":"311","name":"Identity"}],"tagGroups":[{"id":"340","name":"Identity Services"}]}],"publishViews":[{"id":"320","name":"Password reset web view","tagCategories":[{"id":"321","name":"Channel","tags":[{"id":"322","name":"Web"}],"tagGroups":[{"id":"323","name":"Digital Channels"}]}]}]},"ownedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"availabilityDate":"2026-04-15T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","isMajorUpdate":false,"includeInGenAI":true}],"customAttributes":[{"attribInternalName":"audience","attribName":{"value":"Audience","displayValue":"Audience"},"attribValues":[{"value":"Administrators","displayValue":"Administrators"}],"attribType":"single_select_list"}],"isPublishedVersionAvailable":true,"isPublishedVersionExpired":false,"isPublishedVersionScheduled":false,"isLatestVersionInDraft":true,"articleAction":[{"id":"3001","casebase":{"id":"4101","name":"Authentication Casebase"},"cluster":{"id":"5101","name":"Account Access"},"guidedHelpProfile":{"id":"6101","name":"Default Guided Help"},"isSearchable":true}]}]},"summary":"All attributes for published article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/articles/PROD-2996?versionSelector=published&$lang=en-US&articleAdditionalAttributes=department,created,versions.structuredAuthoring,...&$pagenum=1&$pagesize=1"},"children":[],"type":"code"}],"type":"paragraph"}]},"components/examples/GetArticlesByIdsSuggestionAllAttributes":{"id":"components/examples/GetArticlesByIdsSuggestionAllAttributes","value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":1},"articles":[{"id":"PROD-5401","name":"Clarify VPN access after password reset","lastModified":{"date":"2026-05-02T11:20:00.000Z","user":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"created":{"date":"2026-05-01T14:10:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}},"department":{"id":"1000","name":"Service"},"suggestionStatus":{"value":"declined","displayValue":"Declined"},"suggestionResolutionCode":{"value":"duplicate","displayValue":"Duplicate"},"articleReviewDetails":{"currentReviewStage":{"id":"2002","name":"Declined"},"previousReviewStage":{"id":"2001","name":"Pending Review"},"currentWorkflow":{"id":"1999","name":"Suggestion Workflow"},"lastReviewedBy":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"notes":[{"id":"7101","content":"Customer feedback indicates VPN reconnection is commonly missed.","created":{"date":"2026-05-01T15:00:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}}}],"linkAlias":"2B6B8A3E-72E4-408F-B675-8FE3A272FF7D","versions":[{"id":"1","name":"Clarify VPN access after password reset","versionNumber":1,"created":{"date":"2026-05-01T14:10:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}},"lastModified":{"date":"2026-05-02T11:20:00.000Z","user":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"description":"Suggestion to clarify the VPN follow-up step after a password reset.","label":"Customer feedback suggestion","attachments":[{"id":"9101","name":"vpn-reconnect-screenshot.png","mediaType":"image/png","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=7E19D04B6C2A58F3E9B17...","size":118204,"created":{"date":"2026-05-01T14:20:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}}}],"articleType":{"id":"999900000002027","name":"Suggestion","description":"Used exclusively for suggestions","articleCategoryId":4,"useStructuredAuthoring":false,"imageUrl":"","isSearchable":false,"isDisplayable":false,"isSystemCreated":true},"articleState":"draft","translationStatus":"outdated","ownedBy":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"},"availabilityDate":"2026-05-01T14:10:00.000Z","expirationDate":"2027-05-01T23:59:59.000Z","includeInGenAI":false}],"customAttributes":[{"attribInternalName":"sourceChannel","attribName":{"value":"Source Channel","displayValue":"Source Channel"},"attribValues":[{"value":"Customer Portal Feedback","displayValue":"Customer Portal Feedback"}],"attribType":"string"}]}]},"summary":"All attributes for suggestion article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/articles/PROD-5401?versionSelector=latest&$lang=en-US&articleAdditionalAttributes=department,created,suggestionStatus,suggestionResolutionCode,...&$pagenum=1&$pagesize=1"},"children":[],"type":"code"}],"type":"paragraph"}]},"components/examples/EditArticleAllAttributes":{"id":"components/examples/EditArticleAllAttributes","value":{"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"customAttributes":[{"attribInternalName":"audience","attribValues":[{"value":"Administrators"}]}],"compliancePolicy":{"id":"5001"},"links":[{"rel":"topic","href":"/knowledge/contentmgr/v4/topics/KB-3102"},{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-4102"}],"unlinks":[{"rel":"topic","href":"/knowledge/contentmgr/v4/topics/KB-3103"},{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-3050"}],"macro":{"name":"password_reset_support_hours","description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997"}},"versions":[{"name":"How to reset your password","description":"Steps to reset a forgotten password.","keywords":"password reset,sign-in,troubleshooting","summary":"Reset your password from the account portal.","additionalInfo":"Applies to SSO and local accounts.","content":"<p>Open the sign-in page, select <b>Forgot password</b>, and follow the emailed reset instructions.</p><p><img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" alt=\"Forgot password link\" width=\"480\" /></p><p><img fileUploadId=\"7b2e94a1-0c58-4d63-9f17-5ae83b6c204d\" alt=\"Reset confirmation\" width=\"480\" /></p>","structuredAuthoring":{"confidenceLevel":{"value":"validated"},"environment":"Online banking portal, Account Management","issueDescription":"Customer cannot complete password reset after being redirected from the sign-in page.","issueCause":"Redirect URI mismatch between the portal and the identity provider."},"availabilityDate":"2027-08-19T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","imageUrl":"https://www.example.com/images/kb/password-reset-draft.png","attachments":[{"id":"9001"},{"fileUploadId":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}],"articleType":{"id":"932100000002021"},"personalization":{"accessTagCategories":[{"id":"300","tags":[{"id":"301"}],"tagGroups":[{"id":"330"}]}],"filterTagCategories":[{"id":"310","tags":[{"id":"311"}],"tagGroups":[{"id":"340"}]}],"publishViews":[{"id":"320"}]},"ownedBy":{"id":"1005"},"includeInGenAI":true}]},"summary":"All writable attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Every writable request field populated for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation=edit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation=checkin"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"attachments"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" keeps existing attachment "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"9001"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and adds a newly uploaded file"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; any attachment not listed is removed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" does the same for"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"inline images — it keeps image "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"96ea5bd9-36dd-4771-aaa7-aa8cf794307e"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and adds"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"a pre-uploaded image by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; any image whose tag is dropped is removed."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"label"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isMajorUpdate"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" unless "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation=publish"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/412_etag_mismatch_article":{"id":"components/examples/412_etag_mismatch_article","value":{"code":"412-101","developerMessage":"Precondition failed on resource. If-Match ETag did not match."}},"components/examples/article_already_checked_out":{"id":"components/examples/article_already_checked_out","value":{"code":"409-101","developerMessage":"The article is already checked out by another user: <article_id>."},"description":"The article is already checked out (locked) by another user"},"components/examples/CreateArticleAllAttributes":{"id":"components/examples/CreateArticleAllAttributes","value":{"folder":{"id":"20240000000123"},"language":{"code":"en-US"},"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"customAttributes":[{"attribInternalName":"audience","attribValues":[{"value":"Administrators"}]}],"compliancePolicy":{"id":"5001"},"links":[{"rel":"topic","href":"/knowledge/contentmgr/v4/topics/KB-3102"},{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-4102"}],"macro":{"name":"password_reset_support_hours","description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997"}},"versions":[{"name":"How to reset your password","description":"Steps to reset a forgotten password.","keywords":"password reset,sign-in,troubleshooting","summary":"Reset your password from the account portal.","additionalInfo":"Applies to SSO and local accounts.","content":"<p>Open the sign-in page, select <b>Forgot password</b>, and follow the emailed reset instructions.</p><p><img fileUploadId=\"c1f0a3d2-9b47-4e15-8a6c-2d7e5f4b8091\" alt=\"Forgot password link\" width=\"480\" /></p>","structuredAuthoring":{"confidenceLevel":{"value":"validated"},"environment":"Online banking portal, Account Management","issueDescription":"Customer cannot complete password reset after being redirected from the sign-in page.","issueCause":"Redirect URI mismatch between the portal and the identity provider."},"availabilityDate":"2027-08-19T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","imageUrl":"https://www.example.com/images/kb/password-reset-draft.png","attachments":[{"fileUploadId":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}],"articleType":{"id":"932100000002021"},"personalization":{"accessTagCategories":[{"id":"300","tags":[{"id":"301"}],"tagGroups":[{"id":"330"}]}],"filterTagCategories":[{"id":"310","tags":[{"id":"311"}],"tagGroups":[{"id":"340"}]}],"publishViews":[{"id":"320"}]},"ownedBy":{"id":"1005"},"includeInGenAI":true}]},"summary":"All writable attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create an article with every writable request field populated. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" embeds a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pre-uploaded inline image by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"attachments"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" adds a separately"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pre-uploaded file by its own "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"label"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isMajorUpdate"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are not accepted on create."},"children":[],"type":"text"}],"type":"paragraph"}]},"paths/~1import~1content~1{job_id}~1pause/post/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1import~1content~1{job_id}~1pause/post/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1import~1content~1{job_id}~1pause/post/responses/403/content/application~1json/examples/Forbidden":{"value":{"code":"403-178","developerMessage":"User is not allowed to perform the following action: <action_name>."},"key":"Forbidden","summary":"Forbidden","id":"paths/~1import~1content~1{job_id}~1pause/post/responses/403/content/application~1json/examples/Forbidden"},"paths/~1import~1content~1{job_id}~1pause/post/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1import~1content~1{job_id}~1pause/post/responses/404/content/application~1json/examples/Not found"},"paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Status Conflict":{"value":{"code":"409-103","developerMessage":"Job <job_id> could not be paused because it is in status: <status>."},"key":"Status Conflict","summary":"Status Conflict","id":"paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Status Conflict"},"paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Validation Conflict":{"value":{"code":"409-102","developerMessage":"Job <job_id> is a validation job and cannot be paused or resumed."},"key":"Validation Conflict","summary":"Validation Conflict","id":"paths/~1import~1content~1{job_id}~1pause/post/responses/409/content/application~1json/examples/Validation Conflict"},"paths/~1import~1content~1{job_id}~1pause/post/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1import~1content~1{job_id}~1pause/post/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1import~1content~1{job_id}~1resume/post/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1import~1content~1{job_id}~1resume/post/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1import~1content~1{job_id}~1resume/post/responses/403/content/application~1json/examples/Forbidden":{"value":{"code":"403-178","developerMessage":"User is not allowed to perform the following action: <action_name>."},"key":"Forbidden","summary":"Forbidden","id":"paths/~1import~1content~1{job_id}~1resume/post/responses/403/content/application~1json/examples/Forbidden"},"paths/~1import~1content~1{job_id}~1resume/post/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1import~1content~1{job_id}~1resume/post/responses/404/content/application~1json/examples/Not found"},"paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Conflict":{"value":{"code":"409-104","developerMessage":"Job <job_id> could not be resumed because it is in status: <status>."},"key":"Conflict","summary":"Conflict","id":"paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Conflict"},"paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Validation Conflict":{"value":{"code":"409-102","developerMessage":"Job <job_id> is a validation job and cannot be paused or resumed."},"key":"Validation Conflict","summary":"Validation Conflict","id":"paths/~1import~1content~1{job_id}~1resume/post/responses/409/content/application~1json/examples/Validation Conflict"},"paths/~1import~1content~1{job_id}~1resume/post/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1import~1content~1{job_id}~1resume/post/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Start and Stop Date to Import S3 content in the Department":{"value":{"dataSource":{"type":"AWS S3 bucket","path":"s3://mybucket/myfolder/","region":"us-east-1","credentials":{"accessKeyId":"AKIAIOSFODNN7EXAMPLE","secretAccessKey":"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}},"operation":"import","scheduleTime":{"date":"2024-03-01T10:00:00.000Z","stopDate":"2024-03-05T10:00:00.000Z"}},"key":"Schedule Start and Stop Date to Import S3 content in the Department","summary":"Basic S3 import","description":"Import content from an S3 bucket with scheduled execution","id":"paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Start and Stop Date to Import S3 content in the Department"},"paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Import S3 content in the Department":{"value":{"dataSource":{"type":"AWS S3 bucket","path":"s3://mybucket/myfolder/","region":"us-east-1","credentials":{"accessKeyId":"AKIAIOSFODNN7EXAMPLE","secretAccessKey":"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}},"operation":"import","scheduleTime":{"date":"2024-03-01T10:00:00.000Z"}},"key":"Schedule Import S3 content in the Department","summary":"Basic S3 import","description":"Import content from an S3 bucket","id":"paths/~1import~1content/post/requestBody/content/application~1json/examples/Schedule Import S3 content in the Department"},"paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content in the Department":{"value":{"dataSource":{"type":"AWS S3 bucket","path":"s3://mybucket/myfolder/","region":"us-east-1","credentials":{"accessKeyId":"AKIAIOSFODNN7EXAMPLE","secretAccessKey":"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}},"operation":"import"},"key":"Import S3 content in the Department","summary":"Basic S3 import","description":"Import content from an S3 bucket with scheduled execution","id":"paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content in the Department"},"paths/~1import~1content/post/requestBody/content/application~1json/examples/Update existing content in the Department from SFTP":{"value":{"dataSource":{"type":"Shared file path","path":"sftp://server.com/content/updates/"},"operation":"reimport","scheduleTime":{"date":"2024-03-01T02:00:00.000Z"}},"key":"Update existing content in the Department from SFTP","summary":"Content update operation","description":"Update existing content with new information","id":"paths/~1import~1content/post/requestBody/content/application~1json/examples/Update existing content in the Department from SFTP"},"paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content and generate an import report":{"value":{"dataSource":{"type":"AWS S3 bucket","path":"s3://mybucket/myfolder/","region":"us-east-1","credentials":{"accessKeyId":"AKIAIOSFODNN7EXAMPLE","secretAccessKey":"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}},"operation":"import","includeReport":true},"key":"Import S3 content and generate an import report","summary":"S3 import with report","description":"Import content from an S3 bucket and request a structured import report. The report's location is returned as reportFolderLocation on the Get Job Status response.","id":"paths/~1import~1content/post/requestBody/content/application~1json/examples/Import S3 content and generate an import report"},"paths/~1import~1content/post/responses/400/content/application~1json/examples/LimitExceeded Value":{"value":{"code":"400-10424","developerMessage":"Limit exceeded. The allowed limit for '{0}' is '{1}'."},"key":"LimitExceeded Value","summary":"LimitExceeded Value","id":"paths/~1import~1content/post/responses/400/content/application~1json/examples/LimitExceeded Value"},"paths/~1import~1content/post/responses/400/content/application~1json/examples/Invalid Value":{"value":{"code":"400-152","developerMessage":"Invalid value is provided in the request body for the following attribute:'<attribute_name>'."},"key":"Invalid Value","summary":"Invalid Value","id":"paths/~1import~1content/post/responses/400/content/application~1json/examples/Invalid Value"},"paths/~1import~1content/post/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1import~1content/post/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1import~1content/post/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1import~1content/post/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1import~1content/post/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1import~1content/post/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1import~1content/post/responses/409/content/application~1json/example":{"value":{"code":"409-100","developerMessage":"A job with the datasource path {0} is already scheduled or executing. Please cancel or stop that job first."},"id":"paths/~1import~1content/post/responses/409/content/application~1json/example"},"paths/~1import~1content/post/responses/412/content/application~1json/examples/precondition failed":{"value":{"code":"412-100","developerMessage":"Pre condition failed"},"key":"precondition failed","summary":"precondition failed","id":"paths/~1import~1content/post/responses/412/content/application~1json/examples/precondition failed"},"paths/~1import~1content/post/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1import~1content/post/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1import~1config~1hooks/get/responses/200/content/application~1json/example":{"value":{"hooks":[{"hookID":10050,"name":"Dept-Tag-Validator","type":"import_post_validation_hook","fileObject":{"fileID":"3fa85f64-5717-4562-b3fc-2c963f66afa6","createdDate":"2024-03-15T10:30:00.000Z","createdBy":{"id":"500","userName":"jdoe","firstName":"John","lastName":"Doe"},"modifiedDate":"2024-03-20T14:15:00.000Z","modifiedBy":{"id":"501","userName":"asmith","firstName":"Alice","lastName":"Smith"},"version":{"versionID":2,"isCurrent":true},"file":{"name":"check_dept_tags_v2.js","content":"dmFyIGl0ZW0gPSBjb250ZXh0Lml0ZW07","contentUrl":"https://api.egain.cloud/knowledge/contentmgr/v4/import/config/hooks/10050/version/2"}}},{"hookID":10051,"name":"Filename-Sanitizer","type":"import_pre_validation_hook","fileObject":{"fileID":"9b2c3d4e-5717-4562-b3fc-2c963f66afa6","createdDate":"2024-03-10T09:00:00.000Z","createdBy":{"id":"500","userName":"jdoe","firstName":"John","lastName":"Doe"},"modifiedDate":"2024-03-10T09:00:00.000Z","modifiedBy":{"id":"500","userName":"jdoe","firstName":"John","lastName":"Doe"},"version":{"versionID":1,"isCurrent":true},"file":{"name":"clean_filenames.js","content":"ZnVuY3Rpb24gdmFsaWRhdGUuLi4=","contentUrl":"https://api.egain.cloud/knowledge/contentmgr/v4/import/config/hooks/10051/version/1"}}}]},"id":"paths/~1import~1config~1hooks/get/responses/200/content/application~1json/example"},"paths/~1import~1config~1hooks/get/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1import~1config~1hooks/get/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1import~1config~1hooks/post/requestBody/content/application~1json/examples/Post-Validation Script":{"value":{"type":"import_post_validation_hook","fileObject":{"file":{"name":"check_dept_tags.js","content":"dmFyIGl0ZW0gPSBjb250ZXh0Lml0ZW07"}}},"key":"Post-Validation Script","summary":"Post-Validation Script","id":"paths/~1import~1config~1hooks/post/requestBody/content/application~1json/examples/Post-Validation Script"},"paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Unsupported Parameters":{"value":{"code":"400-101","developerMessage":"Unsupported query parameter(s) supplied: '<query_parameter>'."},"key":"Unsupported Parameters","summary":"Unsupported Parameters","id":"paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Unsupported Parameters"},"paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Invalid Value":{"value":{"code":"400-152","developerMessage":"Invalid value is provided in the request body for the following attribute:'<attribute_name>'."},"key":"Invalid Value","summary":"Invalid Value","id":"paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Invalid Value"},"paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Missing required query parameter":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: '<query_parameter>'."},"key":"Missing required query parameter","summary":"Missing required query parameter","id":"paths/~1import~1config~1hooks/post/responses/400/content/application~1json/examples/Missing required query parameter"},"paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/200/content/application~1json/example":{"value":[{"fileID":"3fa85f64-5717-4562-b3fc-2c963f66afa6","createdDate":"2024-03-15T10:30:00.000Z","createdBy":{"id":"500","userName":"jdoe","firstName":"John","lastName":"Doe"},"modifiedDate":"2024-03-20T14:15:00.000Z","modifiedBy":{"id":"501","userName":"asmith","firstName":"Alice","lastName":"Smith"},"version":{"versionID":2,"isCurrent":true},"file":{"name":"check_dept_tags_v2.js","content":"dmFyIGl0ZW0gPSBjb250ZXh0Lml0ZW07","contentUrl":"https://api.egain.cloud/knowledge/contentmgr/v4/import/config/hooks/10050/version/2"}},{"fileID":"1a2b3c4d-5717-4562-b3fc-2c963f66afa6","createdDate":"2024-03-15T10:30:00.000Z","createdBy":{"id":"500","userName":"jdoe","firstName":"John","lastName":"Doe"},"modifiedDate":"2024-03-15T10:30:00.000Z","modifiedBy":{"id":"500","userName":"jdoe","firstName":"John","lastName":"Doe"},"version":{"versionID":1,"isCurrent":false},"file":{"name":"check_dept_tags.js","content":"ZnVuY3Rpb24gb2xkLi4u","contentUrl":"https://api.egain.cloud/knowledge/contentmgr/v4/import/config/hooks/10050/version/1"}}],"id":"paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/200/content/application~1json/example"},"paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1import~1config~1hooks~1{hookID}~1version/get/responses/404/content/application~1json/examples/Not found"},"paths/~1import~1config~1hooks~1{hookID}~1version/post/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1import~1config~1hooks~1{hookID}~1version/post/responses/404/content/application~1json/examples/Not found"},"paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/200/content/application~1json/example":{"value":{"fileID":"1a2b3c4d-5717-4562-b3fc-2c963f66afa6","createdDate":"2024-03-15T10:30:00.000Z","createdBy":{"id":"500","userName":"jdoe","firstName":"John","lastName":"Doe"},"version":{"versionID":1,"isCurrent":false},"file":{"name":"check_dept_tags.js","content":"ZnVuY3Rpb24gb2xkLi4u","contentUrl":"https://api.egain.cloud/knowledge/contentmgr/v4/import/config/hooks/10050/version/1"}},"id":"paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/200/content/application~1json/example"},"paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1import~1config~1hooks~1{hookID}~1version~1{versionID}/get/responses/404/content/application~1json/examples/Not found"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job with scheduled Stop Time":{"value":{"status":"Scheduled","jobType":"Import","progress":{"processed":0,"total":5000,"percentage":0},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","startTime":"2024-03-01T10:00:00.000Z","estimatedCompletion":"2024-03-01T11:30:00.000Z","scheduledStopTime":"2024-03-01T14:00:00.000Z","currentOperation":"Import job in queue to being to start at startTime"},"key":"Scheduled Job with scheduled Stop Time","summary":"Scheduled import job with scheduled stop time","description":"Shows an import job that is currently scheduled and has a scheduled stop time","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job with scheduled Stop Time"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Job in Progress":{"value":{"status":"In Progress","jobType":"Import","progress":{"processed":1250,"total":5000,"percentage":25},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","startTime":"2024-03-01T10:00:00.000Z","estimatedCompletion":"2024-03-01T11:30:00.000Z","currentOperation":"Processing content items"},"key":"Job in Progress","summary":"Active import job","description":"Shows an import job that is currently processing content","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Job in Progress"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job":{"value":{"status":"Successful","jobType":"Import","progress":{"processed":5000,"total":5000,"percentage":100},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","startTime":"2024-03-01T10:00:00.000Z","completionTime":"2024-03-01T11:15:00.000Z","results":{"successful":4985,"warnings":10,"errors":5}},"key":"Completed Import Job","summary":"Successfully completed import job","description":"Shows a import job that has finished processing","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report":{"value":{"status":"Successful","jobType":"Import","progress":{"processed":5000,"total":5000,"percentage":100},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","reportFolderLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_report/","startTime":"2024-03-01T10:00:00.000Z","completionTime":"2024-03-01T11:15:00.000Z","results":{"successful":4985,"warnings":10,"errors":5}},"key":"Completed Import Job with Report","summary":"Successfully completed import job with report","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Shows a completed import job created with includeReport=true, where reportFolderLocation points to the generated import report."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report from SFTP":{"value":{"status":"Successful","jobType":"Import","progress":{"processed":5000,"total":5000,"percentage":100},"logFileLocation":"sftp://server.com/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","reportFolderLocation":"sftp://server.com/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_report/","startTime":"2024-03-01T10:00:00.000Z","completionTime":"2024-03-01T11:15:00.000Z","results":{"successful":4985,"warnings":10,"errors":5}},"key":"Completed Import Job with Report from SFTP","summary":"Successfully completed import job with report, sourced from SFTP","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Shows a completed import job created with includeReport=true from an SFTP data source, where reportFolderLocation points to the generated import report on the same SFTP server."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Import Job with Report from SFTP"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Partially Completed Import Job":{"value":{"status":"In Progress","subStatus":"Paused","statusReason":"Job was paused due to the maximum job duration being reached.","jobType":"Import","progress":{"processed":4500,"total":5000,"percentage":90},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","startTime":"2024-03-01T10:00:00.000Z","completionTime":"2024-03-01T11:15:00.000Z","results":{"successful":4500,"warnings":0,"errors":0}},"key":"Partially Completed Import Job","summary":"Partially completed import job","description":"Shows an import job that has partially finished but has been paused to due running out of alotted time","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Partially Completed Import Job"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/User Cancelled Import Job":{"value":{"status":"Cancelled","statusReason":"Job was cancelled by Admin.","jobType":"Import","progress":{"processed":500,"total":5000,"percentage":10},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","startTime":"2024-03-01T10:00:00.000Z","results":{"successful":500,"warnings":0,"errors":0}},"key":"User Cancelled Import Job","summary":"User cancelled import job","description":"Shows a import job that has been user cancelled","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/User Cancelled Import Job"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Cancelled Import Job due to being queued":{"value":{"status":"Cancelled","statusReason":"Job was cancelled because Job could not be started before specified stopDate.","jobType":"Import","progress":{"processed":0,"total":5000,"percentage":0},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","startTime":"2024-03-01T10:00:00.000Z","results":{"successful":0,"warnings":0,"errors":0}},"key":"Cancelled Import Job due to being queued","summary":"Cancelled import job","description":"Shows a import job that has been cancelled because it wasn't able to start within specified timeframe","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Cancelled Import Job due to being queued"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Validation Job":{"value":{"status":"Successful","jobType":"Validation","progress":{"processed":5000,"total":5000,"percentage":100},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_validation_log.json","startTime":"2024-03-01T10:00:00.000Z","completionTime":"2024-03-01T11:15:00.000Z","results":{"successful":4985,"warnings":10,"errors":5}},"key":"Completed Validation Job","summary":"Successfully completed validation  job","description":"Shows a validation job that has finished processing","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Completed Validation Job"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job":{"value":{"status":"Scheduled","jobType":"Import","progress":{"processed":0,"total":0,"percentage":0},"startTime":"2024-03-02T01:00:00.000Z","scheduledStopTime":"2024-03-02T05:00:00.000Z","currentOperation":"Queued for execution"},"key":"Scheduled Job","summary":"Future scheduled import","description":"A job queued to start at a specific future time with a scheduled stop time.","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Scheduled Job"},"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Failed Job":{"value":{"status":"Failed","jobType":"Import","progress":{"processed":1250,"total":5000,"percentage":25},"logFileLocation":"s3://mybucket/ingestion-execution/9B2E4C7A-1D3F-4A82-B5E6-7C8D9E0F1A2B_execution_log.json","startTime":"2024-03-01T10:00:00.000Z","failureTime":"2024-03-01T10:45:00.000Z","error":"Database connection timeout after processing 1250 items"},"key":"Failed Job","summary":"Job that encountered errors","description":"Shows a job that failed during processing","id":"paths/~1import~1content~1{job_id}~1status/get/responses/200/content/application~1json/examples/Failed Job"},"paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Unsupported Parameters":{"value":{"code":"400-101","developerMessage":"Unsupported query parameter(s) supplied: '<query_parameter>'."},"key":"Unsupported Parameters","summary":"Unsupported Parameters","id":"paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Unsupported Parameters"},"paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Invalid Value":{"value":{"code":"400-152","developerMessage":"Invalid value is provided in the request body for the following attribute:'<attribute_name>'."},"key":"Invalid Value","summary":"Invalid Value","id":"paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Invalid Value"},"paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Missing required query parameter":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: '<query_parameter>'."},"key":"Missing required query parameter","summary":"Missing required query parameter","id":"paths/~1import~1content~1{job_id}~1status/get/responses/400/content/application~1json/examples/Missing required query parameter"},"paths/~1import~1content~1{job_id}~1status/get/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1import~1content~1{job_id}~1status/get/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1import~1content~1{job_id}~1status/get/responses/403/content/application~1json/examples/Forbidden":{"value":{"code":"403-178","developerMessage":"User is not allowed to perform the following action: <action_name>."},"key":"Forbidden","summary":"Forbidden","id":"paths/~1import~1content~1{job_id}~1status/get/responses/403/content/application~1json/examples/Forbidden"},"paths/~1import~1content~1{job_id}~1status/get/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1import~1content~1{job_id}~1status/get/responses/404/content/application~1json/examples/Not found"},"paths/~1import~1content~1{job_id}~1status/get/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1import~1content~1{job_id}~1status/get/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1import~1content~1{job_id}~1status/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1import~1content~1{job_id}~1status/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/S3 content validation":{"value":{"dataSource":{"type":"AWS S3 bucket","path":"s3://mybucket/myfolder/","region":"us-east-1","credentials":{"accessKeyId":"AKIAIOSFODNN7EXAMPLE","secretAccessKey":"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}},"key":"S3 content validation","summary":"Validate S3 content","description":"Validate content from an S3 bucket before import","id":"paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/S3 content validation"},"paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/SFTP content validation":{"value":{"dataSource":{"type":"Shared file path","path":"sftp://mybucket/myfolder/","credentials":{"username":"contentuser","password":"securepassword"}}},"key":"SFTP content validation","summary":"Validate SFTP content","description":"Validate content from an SFTP before import","id":"paths/~1import~1content~1validate/post/requestBody/content/application~1json/examples/SFTP content validation"},"paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Unsupported Parameters":{"value":{"code":"400-101","developerMessage":"Unsupported query parameter(s) supplied: '<query_parameter>'."},"key":"Unsupported Parameters","summary":"Unsupported Parameters","id":"paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Unsupported Parameters"},"paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Invalid Value":{"value":{"code":"400-152","developerMessage":"Invalid value is provided in the request body for the following attribute:'<attribute_name>'."},"key":"Invalid Value","summary":"Invalid Value","id":"paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Invalid Value"},"paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Missing required query parameter":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: '<query_parameter>'."},"key":"Missing required query parameter","summary":"Missing required query parameter","id":"paths/~1import~1content~1validate/post/responses/400/content/application~1json/examples/Missing required query parameter"},"paths/~1import~1content~1validate/post/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1import~1content~1validate/post/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1import~1content~1validate/post/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1import~1content~1validate/post/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1import~1content~1validate/post/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1import~1content~1validate/post/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1import~1content~1validate/post/responses/412/content/application~1json/examples/precondition failed":{"value":{"code":"412-100","developerMessage":"Pre condition failed"},"key":"precondition failed","summary":"precondition failed","id":"paths/~1import~1content~1validate/post/responses/412/content/application~1json/examples/precondition failed"},"paths/~1import~1content~1validate/post/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1import~1content~1validate/post/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1import~1content~1{job_id}~1cancel/post/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1import~1content~1{job_id}~1cancel/post/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1import~1content~1{job_id}~1cancel/post/responses/403/content/application~1json/examples/Forbidden":{"value":{"code":"403-178","developerMessage":"User is not allowed to perform the following action: <action_name>."},"key":"Forbidden","summary":"Forbidden","id":"paths/~1import~1content~1{job_id}~1cancel/post/responses/403/content/application~1json/examples/Forbidden"},"paths/~1import~1content~1{job_id}~1cancel/post/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1import~1content~1{job_id}~1cancel/post/responses/404/content/application~1json/examples/Not found"},"paths/~1import~1content~1{job_id}~1cancel/post/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1import~1content~1{job_id}~1cancel/post/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1import~1content~1{job_id}~1cancel/post/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1import~1content~1{job_id}~1cancel/post/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/Summary attributes for published article":{"value":{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"folder":{"id":"20240000000123","name":"Account Management"},"versions":[{"id":"1","name":"How to reset your password","lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"articleState":"published"}]},"key":"Summary attributes for published article","summary":"Summary attributes for published article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/article/PROD-2996?versionSelector=published"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/Summary attributes for published article"},"paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for draft article":{"value":{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"department":{"id":"1000","name":"Service"},"macro":{"name":"password_reset_support_hours","isSystemCreated":false,"description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997","name":"Password reset overview"}},"articleReviewDetails":{"currentReviewStage":{"id":"1000","name":"Draft"},"previousReviewStage":{"id":"1001","name":"Published"},"currentWorkflow":{"id":"999","name":"Default Workflow"},"lastReviewedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lockedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"compliancePolicy":{"id":"5001","name":"Quarterly acknowledgement","description":"Agents must acknowledge this guidance each quarter.","sla":30,"created":{"date":"2026-01-10T09:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}},"lastModified":{"date":"2026-03-01T12:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}}},"notes":[{"id":"7001","content":"Updated draft to reflect the new sign-in experience.","created":{"date":"2026-04-20T16:15:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"linkAlias":"247A11B1-A559-4176-B562-B88F94C960E5","versions":[{"id":"2","name":"How to reset your password","versionNumber":2,"created":{"date":"2026-04-19T08:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"description":"Updated steps for the new sign-in page.","keywords":"password reset,sign-in,troubleshooting","summary":"Adds the current self-service reset path.","additionalInfo":"Applies to SSO and local accounts.","content":"<p>Open the sign-in page, select <b>Forgot password</b>, and follow the emailed reset instructions.</p><p><img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" src=\"https://api.egain.cloud/core/filemgr/v4/assets/download?signature=35674B764E7848586E786...\" alt=\"Forgot password link\" width=\"480\" /></p>","label":"Updated sign-in experience","imageUrl":"https://www.example.com/images/kb/password-reset-draft.png","attachments":[{"id":"9001","name":"password-reset-checklist.pdf","mediaType":"application/pdf","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=4A7B2C91E05D3F68B1C42...","size":48213,"created":{"date":"2026-04-19T08:35:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"articleType":{"id":"932100000002020","name":"General","description":"Standard how-to article.","articleCategoryId":1,"useStructuredAuthoring":false,"imageUrl":"","isSearchable":true,"isDisplayable":true,"isSystemCreated":true},"articleState":"draft","translationStatus":"upto_date","availableEditions":[{"id":"100","name":"Default web","isContentEdition":true,"publishView":{"id":"200","name":"All customers"}}],"personalization":{"accessTagCategories":[{"id":"300","name":"Audience","tags":[{"id":"301","name":"Customer"}],"tagGroups":[{"id":"330","name":"Premium Customers"}]}],"filterTagCategories":[{"id":"310","name":"ProductArea","tags":[{"id":"311","name":"Identity"}],"tagGroups":[{"id":"340","name":"Identity Services"}]}],"publishViews":[{"id":"320","name":"Password reset web view","tagCategories":[{"id":"321","name":"Channel","tags":[{"id":"322","name":"Web"}],"tagGroups":[{"id":"323","name":"Digital Channels"}]}]}]},"ownedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"availabilityDate":"2026-04-19T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","isMajorUpdate":true,"includeInGenAI":true}],"customAttributes":[{"attribInternalName":"audience","attribName":{"value":"Audience","displayValue":"Audience"},"attribValues":[{"value":"Administrators","displayValue":"Administrators"}],"attribType":"single_select_list"}],"isPublishedVersionAvailable":true,"isPublishedVersionExpired":false,"isPublishedVersionScheduled":false,"isLatestVersionInDraft":true,"articleAction":[{"id":"3001","casebase":{"id":"4101","name":"Authentication Casebase"},"cluster":{"id":"5101","name":"Account Access"},"guidedHelpProfile":{"id":"6101","name":"Default Guided Help"},"isSearchable":true}]},"key":"All attributes for draft article","summary":"All attributes for draft article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/article/PROD-2996?versionSelector=latest&articleAdditionalAttributes=department,created,macro,articleReviewDetails,..."},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for draft article"},"paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for published article":{"value":{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"department":{"id":"1000","name":"Service"},"macro":{"name":"password_reset_support_hours","isSystemCreated":false,"description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997","name":"Password reset overview"}},"articleReviewDetails":{"currentReviewStage":{"id":"1001","name":"Published"},"previousReviewStage":{"id":"1000","name":"Draft"},"currentWorkflow":{"id":"999","name":"Default Workflow"},"lastReviewedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lockedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"compliancePolicy":{"id":"5001","name":"Quarterly acknowledgement","description":"Agents must acknowledge this guidance each quarter.","sla":30,"created":{"date":"2026-01-10T09:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}},"lastModified":{"date":"2026-03-01T12:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}}},"notes":[{"id":"7001","content":"Updated draft to reflect the new sign-in experience.","created":{"date":"2026-04-20T16:15:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"linkAlias":"B7A795B2-C469-4B02-B783-9BD176ED22CB","versions":[{"id":"1","name":"How to reset your password","versionNumber":1,"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"description":"Published guidance for the current self-service reset path.","keywords":"password reset,sign-in,troubleshooting","summary":"Provides the currently published reset steps.","additionalInfo":"Applies to SSO and local accounts.","content":"<p>Open the sign-in page, select <b>Forgot password</b>, and follow the emailed reset instructions.</p><p><img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" src=\"https://api.egain.cloud/core/filemgr/v4/assets/download?signature=35674B764E7848586E786...\" alt=\"Forgot password link\" width=\"480\" /></p>","structuredAuthoring":{"confidenceLevel":{"value":"validated","displayValue":"Validated"},"environment":"Online banking portal, Account Management","issueDescription":"Customer cannot complete password reset after being redirected from the sign-in page.","issueCause":"Redirect URI mismatch between the portal and the identity provider."},"label":"Published sign-in guidance","imageUrl":"https://www.example.com/images/kb/password-reset-published.png","attachments":[{"id":"9001","name":"password-reset-checklist.pdf","mediaType":"application/pdf","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=4A7B2C91E05D3F68B1C42...","size":48213,"created":{"date":"2026-04-15T09:05:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"articleType":{"id":"932100000002021","name":"Issue resolution","description":"How-to article that uses structured authoring.","articleCategoryId":1,"useStructuredAuthoring":true,"imageUrl":"","isSearchable":true,"isDisplayable":true,"isSystemCreated":true},"articleState":"published","translationStatus":"upto_date","availableEditions":[{"id":"100","name":"Default web","isContentEdition":true,"publishView":{"id":"200","name":"All customers"}}],"personalization":{"accessTagCategories":[{"id":"300","name":"Audience","tags":[{"id":"301","name":"Customer"}],"tagGroups":[{"id":"330","name":"Premium Customers"}]}],"filterTagCategories":[{"id":"310","name":"ProductArea","tags":[{"id":"311","name":"Identity"}],"tagGroups":[{"id":"340","name":"Identity Services"}]}],"publishViews":[{"id":"320","name":"Password reset web view","tagCategories":[{"id":"321","name":"Channel","tags":[{"id":"322","name":"Web"}],"tagGroups":[{"id":"323","name":"Digital Channels"}]}]}]},"ownedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"availabilityDate":"2026-04-15T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","isMajorUpdate":false,"includeInGenAI":true}],"customAttributes":[{"attribInternalName":"audience","attribName":{"value":"Audience","displayValue":"Audience"},"attribValues":[{"value":"Administrators","displayValue":"Administrators"}],"attribType":"single_select_list"}],"isPublishedVersionAvailable":true,"isPublishedVersionExpired":false,"isPublishedVersionScheduled":false,"isLatestVersionInDraft":true,"articleAction":[{"id":"3001","casebase":{"id":"4101","name":"Authentication Casebase"},"cluster":{"id":"5101","name":"Account Access"},"guidedHelpProfile":{"id":"6101","name":"Default Guided Help"},"isSearchable":true}]},"key":"All attributes for published article","summary":"All attributes for published article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/article/PROD-2996?versionSelector=published&articleAdditionalAttributes=department,created,versions.structuredAuthoring,..."},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for published article"},"paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for suggestion article":{"value":{"id":"PROD-5401","name":"Clarify VPN access after password reset","lastModified":{"date":"2026-05-02T11:20:00.000Z","user":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"created":{"date":"2026-05-01T14:10:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}},"department":{"id":"1000","name":"Service"},"suggestionStatus":{"value":"declined","displayValue":"Declined"},"suggestionResolutionCode":{"value":"duplicate","displayValue":"Duplicate"},"articleReviewDetails":{"currentReviewStage":{"id":"2002","name":"Declined"},"previousReviewStage":{"id":"2001","name":"Pending Review"},"currentWorkflow":{"id":"1999","name":"Suggestion Workflow"},"lastReviewedBy":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"notes":[{"id":"7101","content":"Customer feedback indicates VPN reconnection is commonly missed.","created":{"date":"2026-05-01T15:00:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}}}],"linkAlias":"2B6B8A3E-72E4-408F-B675-8FE3A272FF7D","versions":[{"id":"1","name":"Clarify VPN access after password reset","versionNumber":1,"created":{"date":"2026-05-01T14:10:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}},"lastModified":{"date":"2026-05-02T11:20:00.000Z","user":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"description":"Suggestion to clarify the VPN follow-up step after a password reset.","content":"<p>After you reset your password, disconnect and reconnect to VPN so your new credentials take effect.</p>","label":"Customer feedback suggestion","attachments":[{"id":"9101","name":"vpn-reconnect-screenshot.png","mediaType":"image/png","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=7E19D04B6C2A58F3E9B17...","size":118204,"created":{"date":"2026-05-01T14:20:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}}}],"articleType":{"id":"999900000002027","name":"Suggestion","description":"Used exclusively for suggestions","articleCategoryId":4,"useStructuredAuthoring":false,"imageUrl":"","isSearchable":false,"isDisplayable":false,"isSystemCreated":true},"articleState":"draft","translationStatus":"outdated","ownedBy":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"},"availabilityDate":"2026-05-01T14:10:00.000Z","expirationDate":"2027-05-01T23:59:59.000Z","includeInGenAI":false}],"customAttributes":[{"attribInternalName":"sourceChannel","attribName":{"value":"Source Channel","displayValue":"Source Channel"},"attribValues":[{"value":"Customer Portal Feedback","displayValue":"Customer Portal Feedback"}],"attribType":"string"}]},"key":"All attributes for suggestion article","summary":"All applicable attributes for suggestion article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/article/PROD-5401?versionSelector=latest&articleAdditionalAttributes=department,created,suggestionStatus,suggestionResolutionCode,..."},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1article~1{articleID}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"},"paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1article~1{articleID}/get/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1article~1{articleID}/get/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1article~1{articleID}/get/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1article~1{articleID}/get/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1article~1{articleID}/get/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1article~1{articleID}/get/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1article~1{articleID}/get/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1article~1{articleID}/get/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1article~1{articleID}/get/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1article~1{articleID}/get/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1article~1{articleID}/get/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1article~1{articleID}/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1article~1{articleID}/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/Summary attributes for published articles":{"value":{"paginationInfo":{"count":2,"pagenum":1,"pagesize":2},"articles":[{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"folder":{"id":"20240000000123","name":"Account Management"},"versions":[{"id":"1","name":"How to reset your password","lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"articleState":"published"}]},{"id":"PROD-4102","name":"Unlock a temporarily locked account","lastModified":{"date":"2026-05-02T09:15:00.000Z","user":{"id":"1011","userName":"mrivera","firstName":"Morgan","lastName":"Rivera"}},"folder":{"id":"20240000000123","name":"Account Management"},"versions":[{"id":"4","name":"Unlock a temporarily locked account","lastModified":{"date":"2026-05-02T09:15:00.000Z","user":{"id":"1011","userName":"mrivera","firstName":"Morgan","lastName":"Rivera"}},"articleState":"published"}]}]},"key":"Summary attributes for published articles","summary":"Summary attributes for published articles","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/articles/PROD-2996,PROD-4102?versionSelector=published&$lang=en-US&$pagenum=1&$pagesize=2"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/Summary attributes for published articles"},"paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for draft article":{"value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":1},"articles":[{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"department":{"id":"1000","name":"Service"},"macro":{"name":"password_reset_support_hours","isSystemCreated":false,"description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997","name":"Password reset overview"}},"articleReviewDetails":{"currentReviewStage":{"id":"1000","name":"Draft"},"previousReviewStage":{"id":"1001","name":"Published"},"currentWorkflow":{"id":"999","name":"Default Workflow"},"lastReviewedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lockedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"compliancePolicy":{"id":"5001","name":"Quarterly acknowledgement","description":"Agents must acknowledge this guidance each quarter.","sla":30,"created":{"date":"2026-01-10T09:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}},"lastModified":{"date":"2026-03-01T12:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}}},"notes":[{"id":"7001","content":"Updated draft to reflect the new sign-in experience.","created":{"date":"2026-04-20T16:15:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"linkAlias":"247A11B1-A559-4176-B562-B88F94C960E5","versions":[{"id":"2","name":"How to reset your password","versionNumber":2,"created":{"date":"2026-04-19T08:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"description":"Updated steps for the new sign-in page.","keywords":"password reset,sign-in,troubleshooting","summary":"Adds the current self-service reset path.","additionalInfo":"Applies to SSO and local accounts.","label":"Updated sign-in experience","imageUrl":"https://www.example.com/images/kb/password-reset-draft.png","attachments":[{"id":"9001","name":"password-reset-checklist.pdf","mediaType":"application/pdf","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=4A7B2C91E05D3F68B1C42...","size":48213,"created":{"date":"2026-04-19T08:35:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"articleType":{"id":"932100000002020","name":"General","description":"Standard how-to article.","articleCategoryId":1,"useStructuredAuthoring":false,"imageUrl":"","isSearchable":true,"isDisplayable":true,"isSystemCreated":true},"articleState":"draft","translationStatus":"upto_date","availableEditions":[{"id":"100","name":"Default web","isContentEdition":true,"publishView":{"id":"200","name":"All customers"}}],"personalization":{"accessTagCategories":[{"id":"300","name":"Audience","tags":[{"id":"301","name":"Customer"}],"tagGroups":[{"id":"330","name":"Premium Customers"}]}],"filterTagCategories":[{"id":"310","name":"ProductArea","tags":[{"id":"311","name":"Identity"}],"tagGroups":[{"id":"340","name":"Identity Services"}]}],"publishViews":[{"id":"320","name":"Password reset web view","tagCategories":[{"id":"321","name":"Channel","tags":[{"id":"322","name":"Web"}],"tagGroups":[{"id":"323","name":"Digital Channels"}]}]}]},"ownedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"availabilityDate":"2026-04-19T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","isMajorUpdate":true,"includeInGenAI":true}],"customAttributes":[{"attribInternalName":"audience","attribName":{"value":"Audience","displayValue":"Audience"},"attribValues":[{"value":"Administrators","displayValue":"Administrators"}],"attribType":"single_select_list"}],"isPublishedVersionAvailable":true,"isPublishedVersionExpired":false,"isPublishedVersionScheduled":false,"isLatestVersionInDraft":true,"articleAction":[{"id":"3001","casebase":{"id":"4101","name":"Authentication Casebase"},"cluster":{"id":"5101","name":"Account Access"},"guidedHelpProfile":{"id":"6101","name":"Default Guided Help"},"isSearchable":true}]}]},"key":"All attributes for draft article","summary":"All attributes for draft article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/articles/PROD-2996?versionSelector=latest&$lang=en-US&articleAdditionalAttributes=department,created,macro,articleReviewDetails,...&$pagenum=1&$pagesize=1"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for draft article"},"paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for published article":{"value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":1},"articles":[{"id":"PROD-2996","name":"How to reset your password","lastModified":{"date":"2026-04-21T10:45:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"department":{"id":"1000","name":"Service"},"macro":{"name":"password_reset_support_hours","isSystemCreated":false,"description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997","name":"Password reset overview"}},"articleReviewDetails":{"currentReviewStage":{"id":"1001","name":"Published"},"previousReviewStage":{"id":"1000","name":"Draft"},"currentWorkflow":{"id":"999","name":"Default Workflow"},"lastReviewedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"lockedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"compliancePolicy":{"id":"5001","name":"Quarterly acknowledgement","description":"Agents must acknowledge this guidance each quarter.","sla":30,"created":{"date":"2026-01-10T09:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}},"lastModified":{"date":"2026-03-01T12:00:00.000Z","user":{"id":"1002","userName":"rpatel","firstName":"Rina","lastName":"Patel"}}},"notes":[{"id":"7001","content":"Updated draft to reflect the new sign-in experience.","created":{"date":"2026-04-20T16:15:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"linkAlias":"B7A795B2-C469-4B02-B783-9BD176ED22CB","versions":[{"id":"1","name":"How to reset your password","versionNumber":1,"created":{"date":"2026-04-10T08:00:00.000Z","user":{"id":"1003","userName":"asmith","firstName":"Alex","lastName":"Smith"}},"lastModified":{"date":"2026-04-18T14:30:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}},"description":"Published guidance for the current self-service reset path.","keywords":"password reset,sign-in,troubleshooting","summary":"Provides the currently published reset steps.","additionalInfo":"Applies to SSO and local accounts.","structuredAuthoring":{"confidenceLevel":{"value":"validated","displayValue":"Validated"},"environment":"Online banking portal, Account Management","issueDescription":"Customer cannot complete password reset after being redirected from the sign-in page.","issueCause":"Redirect URI mismatch between the portal and the identity provider."},"label":"Published sign-in guidance","imageUrl":"https://www.example.com/images/kb/password-reset-published.png","attachments":[{"id":"9001","name":"password-reset-checklist.pdf","mediaType":"application/pdf","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=4A7B2C91E05D3F68B1C42...","size":48213,"created":{"date":"2026-04-15T09:05:00.000Z","user":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"}}}],"articleType":{"id":"932100000002021","name":"Issue resolution","description":"How-to article that uses structured authoring.","articleCategoryId":1,"useStructuredAuthoring":true,"imageUrl":"","isSearchable":true,"isDisplayable":true,"isSystemCreated":true},"articleState":"published","translationStatus":"upto_date","availableEditions":[{"id":"100","name":"Default web","isContentEdition":true,"publishView":{"id":"200","name":"All customers"}}],"personalization":{"accessTagCategories":[{"id":"300","name":"Audience","tags":[{"id":"301","name":"Customer"}],"tagGroups":[{"id":"330","name":"Premium Customers"}]}],"filterTagCategories":[{"id":"310","name":"ProductArea","tags":[{"id":"311","name":"Identity"}],"tagGroups":[{"id":"340","name":"Identity Services"}]}],"publishViews":[{"id":"320","name":"Password reset web view","tagCategories":[{"id":"321","name":"Channel","tags":[{"id":"322","name":"Web"}],"tagGroups":[{"id":"323","name":"Digital Channels"}]}]}]},"ownedBy":{"id":"1005","userName":"jdoe","firstName":"Jane","lastName":"Doe"},"availabilityDate":"2026-04-15T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","isMajorUpdate":false,"includeInGenAI":true}],"customAttributes":[{"attribInternalName":"audience","attribName":{"value":"Audience","displayValue":"Audience"},"attribValues":[{"value":"Administrators","displayValue":"Administrators"}],"attribType":"single_select_list"}],"isPublishedVersionAvailable":true,"isPublishedVersionExpired":false,"isPublishedVersionScheduled":false,"isLatestVersionInDraft":true,"articleAction":[{"id":"3001","casebase":{"id":"4101","name":"Authentication Casebase"},"cluster":{"id":"5101","name":"Account Access"},"guidedHelpProfile":{"id":"6101","name":"Default Guided Help"},"isSearchable":true}]}]},"key":"All attributes for published article","summary":"All attributes for published article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/articles/PROD-2996?versionSelector=published&$lang=en-US&articleAdditionalAttributes=department,created,versions.structuredAuthoring,...&$pagenum=1&$pagesize=1"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for published article"},"paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for suggestion article":{"value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":1},"articles":[{"id":"PROD-5401","name":"Clarify VPN access after password reset","lastModified":{"date":"2026-05-02T11:20:00.000Z","user":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"created":{"date":"2026-05-01T14:10:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}},"department":{"id":"1000","name":"Service"},"suggestionStatus":{"value":"declined","displayValue":"Declined"},"suggestionResolutionCode":{"value":"duplicate","displayValue":"Duplicate"},"articleReviewDetails":{"currentReviewStage":{"id":"2002","name":"Declined"},"previousReviewStage":{"id":"2001","name":"Pending Review"},"currentWorkflow":{"id":"1999","name":"Suggestion Workflow"},"lastReviewedBy":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"language":{"code":"en-US","label":"English (United States)","isDefault":true},"folder":{"id":"20240000000123","name":"Account Management"},"notes":[{"id":"7101","content":"Customer feedback indicates VPN reconnection is commonly missed.","created":{"date":"2026-05-01T15:00:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}}}],"linkAlias":"2B6B8A3E-72E4-408F-B675-8FE3A272FF7D","versions":[{"id":"1","name":"Clarify VPN access after password reset","versionNumber":1,"created":{"date":"2026-05-01T14:10:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}},"lastModified":{"date":"2026-05-02T11:20:00.000Z","user":{"id":"1008","userName":"gnguyen","firstName":"Grace","lastName":"Nguyen"}},"description":"Suggestion to clarify the VPN follow-up step after a password reset.","label":"Customer feedback suggestion","attachments":[{"id":"9101","name":"vpn-reconnect-screenshot.png","mediaType":"image/png","contentUrl":"https://api.egain.cloud/core/filemgr/v4/assets/predownload?signature=7E19D04B6C2A58F3E9B17...","size":118204,"created":{"date":"2026-05-01T14:20:00.000Z","user":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"}}}],"articleType":{"id":"999900000002027","name":"Suggestion","description":"Used exclusively for suggestions","articleCategoryId":4,"useStructuredAuthoring":false,"imageUrl":"","isSearchable":false,"isDisplayable":false,"isSystemCreated":true},"articleState":"draft","translationStatus":"outdated","ownedBy":{"id":"1010","userName":"mgarcia","firstName":"Maria","lastName":"Garcia"},"availabilityDate":"2026-05-01T14:10:00.000Z","expirationDate":"2027-05-01T23:59:59.000Z","includeInGenAI":false}],"customAttributes":[{"attribInternalName":"sourceChannel","attribName":{"value":"Source Channel","displayValue":"Source Channel"},"attribValues":[{"value":"Customer Portal Feedback","displayValue":"Customer Portal Feedback"}],"attribType":"string"}]}]},"key":"All attributes for suggestion article","summary":"All attributes for suggestion article","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/articles/PROD-5401?versionSelector=latest&$lang=en-US&articleAdditionalAttributes=department,created,suggestionStatus,suggestionResolutionCode,...&$pagenum=1&$pagesize=1"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1articles~1{articleIDs}/get/responses/200/content/application~1json/examples/All attributes for suggestion article"},"paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1articles~1{articleIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1articles~1{articleIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1articles~1{articleIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1articles~1{articleIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1articles~1{articleIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1articles~1{articleIDs}/get/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1articles~1{articleIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1articles~1{articleIDs}/get/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1articles~1{articleIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1articles~1{articleIDs}/get/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1articles~1{articleIDs}/get/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1articles~1{articleIDs}/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1articles~1{articleIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1articles~1{articleIDs}/patch/requestBody/content/application~1json/examples/All writable attributes":{"value":{"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"customAttributes":[{"attribInternalName":"audience","attribValues":[{"value":"Administrators"}]}],"compliancePolicy":{"id":"5001"},"links":[{"rel":"topic","href":"/knowledge/contentmgr/v4/topics/KB-3102"},{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-4102"}],"unlinks":[{"rel":"topic","href":"/knowledge/contentmgr/v4/topics/KB-3103"},{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-3050"}],"macro":{"name":"password_reset_support_hours","description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997"}},"versions":[{"name":"How to reset your password","description":"Steps to reset a forgotten password.","keywords":"password reset,sign-in,troubleshooting","summary":"Reset your password from the account portal.","additionalInfo":"Applies to SSO and local accounts.","content":"<p>Open the sign-in page, select <b>Forgot password</b>, and follow the emailed reset instructions.</p><p><img id=\"96ea5bd9-36dd-4771-aaa7-aa8cf794307e\" alt=\"Forgot password link\" width=\"480\" /></p><p><img fileUploadId=\"7b2e94a1-0c58-4d63-9f17-5ae83b6c204d\" alt=\"Reset confirmation\" width=\"480\" /></p>","structuredAuthoring":{"confidenceLevel":{"value":"validated"},"environment":"Online banking portal, Account Management","issueDescription":"Customer cannot complete password reset after being redirected from the sign-in page.","issueCause":"Redirect URI mismatch between the portal and the identity provider."},"availabilityDate":"2027-08-19T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","imageUrl":"https://www.example.com/images/kb/password-reset-draft.png","attachments":[{"id":"9001"},{"fileUploadId":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}],"articleType":{"id":"932100000002021"},"personalization":{"accessTagCategories":[{"id":"300","tags":[{"id":"301"}],"tagGroups":[{"id":"330"}]}],"filterTagCategories":[{"id":"310","tags":[{"id":"311"}],"tagGroups":[{"id":"340"}]}],"publishViews":[{"id":"320"}]},"ownedBy":{"id":"1005"},"includeInGenAI":true}]},"key":"All writable attributes","summary":"All writable attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Every writable request field populated for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation=edit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation=checkin"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"attachments"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" keeps existing attachment "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"9001"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and adds a newly uploaded file"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; any attachment not listed is removed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" does the same for"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"inline images — it keeps image "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"96ea5bd9-36dd-4771-aaa7-aa8cf794307e"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and adds"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"a pre-uploaded image by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; any image whose tag is dropped is removed."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"label"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isMajorUpdate"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are rejected with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"400"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" unless "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"operation=publish"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1articles~1{articleIDs}/patch/requestBody/content/application~1json/examples/All writable attributes"},"paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1articles~1{articleIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1articles~1{articleIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1articles~1{articleIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1articles~1{articleIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1articles~1{articleIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1articles~1{articleIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1articles~1{articleIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1articles~1{articleIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1articles~1{articleIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1articles~1{articleIDs}/patch/responses/409/content/application~1json/examples/duplicate name":{"value":{"code":"409-102","developerMessage":"The following name is already in use under the same parent in this language: <name>."},"key":"duplicate name","summary":"duplicate name","description":"The name is already used by a sibling of the same language under the same parent.","id":"paths/~1articles~1{articleIDs}/patch/responses/409/content/application~1json/examples/duplicate name"},"paths/~1articles~1{articleIDs}/patch/responses/412/content/application~1json/examples/ETag mismatch":{"value":{"code":"412-101","developerMessage":"Precondition failed on resource. If-Match ETag did not match."},"key":"ETag mismatch","summary":"ETag mismatch","id":"paths/~1articles~1{articleIDs}/patch/responses/412/content/application~1json/examples/ETag mismatch"},"paths/~1articles~1{articleIDs}/patch/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1articles~1{articleIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1articles~1{articleIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1articles~1{articleIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/409/content/application~1json/examples/article already checked out":{"value":{"code":"409-101","developerMessage":"The article is already checked out by another user: <article_id>."},"key":"article already checked out","summary":"article already checked out","description":"The article is already checked out (locked) by another user","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/409/content/application~1json/examples/article already checked out"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1articles~1{articleIDs}~1checkout/put/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1articles~1{articleIDs}~1checkout/put/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1articles/post/requestBody/content/application~1json/examples/All writable attributes":{"value":{"folder":{"id":"20240000000123"},"language":{"code":"en-US"},"relatedQuestions":["How do I reset my password?","What if the reset email never arrives?"],"customAttributes":[{"attribInternalName":"audience","attribValues":[{"value":"Administrators"}]}],"compliancePolicy":{"id":"5001"},"links":[{"rel":"topic","href":"/knowledge/contentmgr/v4/topics/KB-3102"},{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-4102"}],"macro":{"name":"password_reset_support_hours","description":"Reusable support-hours note for password reset content.","defaultValue":"Agents respond within 24 hours.","fallbackArticle":{"id":"PROD-2997"}},"versions":[{"name":"How to reset your password","description":"Steps to reset a forgotten password.","keywords":"password reset,sign-in,troubleshooting","summary":"Reset your password from the account portal.","additionalInfo":"Applies to SSO and local accounts.","content":"<p>Open the sign-in page, select <b>Forgot password</b>, and follow the emailed reset instructions.</p><p><img fileUploadId=\"c1f0a3d2-9b47-4e15-8a6c-2d7e5f4b8091\" alt=\"Forgot password link\" width=\"480\" /></p>","structuredAuthoring":{"confidenceLevel":{"value":"validated"},"environment":"Online banking portal, Account Management","issueDescription":"Customer cannot complete password reset after being redirected from the sign-in page.","issueCause":"Redirect URI mismatch between the portal and the identity provider."},"availabilityDate":"2027-08-19T09:00:00.000Z","expirationDate":"2028-04-14T23:59:59.000Z","imageUrl":"https://www.example.com/images/kb/password-reset-draft.png","attachments":[{"fileUploadId":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}],"articleType":{"id":"932100000002021"},"personalization":{"accessTagCategories":[{"id":"300","tags":[{"id":"301"}],"tagGroups":[{"id":"330"}]}],"filterTagCategories":[{"id":"310","tags":[{"id":"311"}],"tagGroups":[{"id":"340"}]}],"publishViews":[{"id":"320"}]},"ownedBy":{"id":"1005"},"includeInGenAI":true}]},"key":"All writable attributes","summary":"All writable attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create an article with every writable request field populated. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"content"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" embeds a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pre-uploaded inline image by its "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"attachments"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" adds a separately"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pre-uploaded file by its own "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fileUploadId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"label"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isMajorUpdate"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are not accepted on create."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1articles/post/requestBody/content/application~1json/examples/All writable attributes"},"paths/~1articles/post/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1articles/post/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1articles/post/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1articles/post/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1articles/post/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1articles/post/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1articles/post/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1articles/post/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1articles/post/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1articles/post/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1articles/post/responses/409/content/application~1json/examples/duplicate name":{"value":{"code":"409-102","developerMessage":"The following name is already in use under the same parent in this language: <name>."},"key":"duplicate name","summary":"duplicate name","description":"The name is already used by a sibling of the same language under the same parent.","id":"paths/~1articles/post/responses/409/content/application~1json/examples/duplicate name"},"paths/~1articles/post/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1articles/post/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1articles/post/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1articles/post/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Root-Level Folder)":{"value":{"name":"Service Knowledge Base","department":{"id":"1000"}},"key":"Required Attributes (Root-Level Folder)","summary":"Only required attributes — create a root-level folder in a department.","id":"paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Root-Level Folder)"},"paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Folder)":{"value":{"name":"2024 Q4 Budget Planning","parent":{"id":"20240000000122"}},"key":"Required Attributes (Sub-Folder)","summary":"Only required attributes — create a sub-folder under a parent folder.","id":"paths/~1folders/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Folder)"},"paths/~1folders/post/requestBody/content/application~1json/examples/All Attributes":{"value":{"name":"2024 Q4 Budget Planning","description":"Confidential financial planning for Q4.","parent":{"id":"20240000000122"},"translateContent":false,"permissions":[{"identity":{"user":{"id":"2001"}},"permission":[{"value":"own_folder","isAssigned":true,"toPropagate":true},{"value":"view_folder","isAssigned":true,"toPropagate":true},{"value":"create_folder","isAssigned":true,"toPropagate":true},{"value":"delete_folder","isAssigned":true,"toPropagate":true},{"value":"edit_folder","isAssigned":true,"toPropagate":true},{"value":"create_article","isAssigned":true,"toPropagate":true},{"value":"edit_article","isAssigned":true,"toPropagate":true},{"value":"delete_article","isAssigned":true,"toPropagate":true},{"value":"suggest_article","isAssigned":true,"toPropagate":true},{"value":"manage_suggestions","isAssigned":true,"toPropagate":true}]},{"identity":{"group":{"id":"3001"}},"permission":[{"value":"own_folder","isAssigned":false,"toPropagate":false},{"value":"view_folder","isAssigned":true,"toPropagate":true},{"value":"create_folder","isAssigned":false,"toPropagate":false},{"value":"delete_folder","isAssigned":false,"toPropagate":false},{"value":"edit_folder","isAssigned":false,"toPropagate":false},{"value":"create_article","isAssigned":true,"toPropagate":true},{"value":"edit_article","isAssigned":true,"toPropagate":true},{"value":"delete_article","isAssigned":false,"toPropagate":false},{"value":"suggest_article","isAssigned":true,"toPropagate":true},{"value":"manage_suggestions","isAssigned":false,"toPropagate":false}]}]},"key":"All Attributes","summary":"All writable attributes on create (shown for a sub-folder).","id":"paths/~1folders/post/requestBody/content/application~1json/examples/All Attributes"},"paths/~1folders/post/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1folders/post/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1folders/post/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1folders/post/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1folders/post/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1folders/post/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1folders/post/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1folders/post/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1folders/post/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1folders/post/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1folders/post/responses/409/content/application~1json/examples/duplicate name":{"value":{"code":"409-102","developerMessage":"The following name is already in use under the same parent in this language: <name>."},"key":"duplicate name","summary":"duplicate name","description":"The name is already used by a sibling of the same language under the same parent.","id":"paths/~1folders/post/responses/409/content/application~1json/examples/duplicate name"},"paths/~1folders/post/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1folders/post/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1folders/post/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1folders/post/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1folders/get/responses/200/content/application~1json/examples/All Attributes":{"value":{"paginationInfo":{"count":2,"pagenum":1,"pagesize":10},"folders":[{"id":"20240000000122","name":"Operations","description":"Root folder for operational procedures.","created":{"date":"2024-01-05T09:00:00.000Z","user":{"id":"1004","userName":"john.roe","firstName":"John","middleName":"Michael","lastName":"Roe"}},"lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"articleCount":8,"department":{"id":"1000","name":"Service"},"language":{"code":"en-US","label":"English (US)","isDefault":true},"translateContent":true,"permissions":[{"identity":{"user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"permission":[{"value":"own_folder","isExplicit":true,"isAssigned":false},{"value":"view_folder","isExplicit":true,"isAssigned":true},{"value":"create_folder","isExplicit":true,"isAssigned":true},{"value":"delete_folder","isExplicit":true,"isAssigned":false},{"value":"edit_folder","isExplicit":true,"isAssigned":true},{"value":"create_article","isExplicit":false,"isAssigned":true},{"value":"edit_article","isExplicit":false,"isAssigned":true},{"value":"delete_article","isExplicit":false,"isAssigned":false},{"value":"suggest_article","isExplicit":false,"isAssigned":true},{"value":"manage_suggestions","isExplicit":false,"isAssigned":false}]}],"subFolderCount":1,"path":"Operations","isSystemCreated":false},{"id":"20240000000125","name":"Customer Support","description":"Root folder for customer support content.","created":{"date":"2024-01-05T09:00:00.000Z","user":{"id":"1004","userName":"john.roe","firstName":"John","middleName":"Michael","lastName":"Roe"}},"lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"articleCount":24,"department":{"id":"1000","name":"Service"},"language":{"code":"en-US","label":"English (US)","isDefault":true},"translateContent":true,"permissions":[{"identity":{"user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"permission":[{"value":"own_folder","isExplicit":true,"isAssigned":false},{"value":"view_folder","isExplicit":true,"isAssigned":true},{"value":"create_folder","isExplicit":true,"isAssigned":true},{"value":"delete_folder","isExplicit":true,"isAssigned":false},{"value":"edit_folder","isExplicit":true,"isAssigned":true},{"value":"create_article","isExplicit":false,"isAssigned":true},{"value":"edit_article","isExplicit":false,"isAssigned":true},{"value":"delete_article","isExplicit":false,"isAssigned":false},{"value":"suggest_article","isExplicit":false,"isAssigned":true},{"value":"manage_suggestions","isExplicit":false,"isAssigned":false}]}],"subFolderCount":0,"path":"Customer Support","isSystemCreated":false}]},"key":"All Attributes","summary":"Root-level folders of a department; all attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/folders?$lang=en-US&departmentId=1000&folderAdditionalAttributes=created,description,department,translateContent,permissions,articleCount,...&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1folders/get/responses/200/content/application~1json/examples/All Attributes"},"paths/~1folders/get/responses/200/content/application~1json/examples/With Level":{"value":{"paginationInfo":{"count":3,"pagenum":1,"pagesize":10},"folders":[{"id":"20240000000122","name":"Operations","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}},{"id":"20240000000125","name":"Customer Support","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}},{"id":"20240000000123","name":"IT Infrastructure","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"20240000000122","name":"Operations"}}]},"key":"With Level","summary":"Flat list of two hierarchy levels; summary attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/folders?$lang=en-US&departmentId=1000&$level=1&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1folders/get/responses/200/content/application~1json/examples/With Level"},"paths/~1folders/get/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1folders/get/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1folders/get/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1folders/get/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1folders/get/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1folders/get/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1folders/get/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1folders/get/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1folders/get/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1folders/get/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1folders/get/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1folders/get/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1folders/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1folders/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1folders~1{folderIDs}/patch/requestBody/content/application~1json/examples/All Attributes":{"value":{"name":"Public Company Policy","description":"Updated description for public consumption.","translateContent":false,"permissions":[{"identity":{"user":{"id":"2001"}},"permission":[{"value":"own_folder","isAssigned":true,"toPropagate":true},{"value":"view_folder","isAssigned":true,"toPropagate":true},{"value":"create_folder","isAssigned":true,"toPropagate":true},{"value":"delete_folder","isAssigned":false,"toPropagate":false},{"value":"edit_folder","isAssigned":true,"toPropagate":true},{"value":"create_article","isAssigned":true,"toPropagate":true},{"value":"edit_article","isAssigned":true,"toPropagate":true},{"value":"delete_article","isAssigned":false,"toPropagate":false},{"value":"suggest_article","isAssigned":true,"toPropagate":true},{"value":"manage_suggestions","isAssigned":true,"toPropagate":true}]},{"identity":{"group":{"id":"3001"}},"permission":[{"value":"own_folder","isAssigned":false,"toPropagate":false},{"value":"view_folder","isAssigned":true,"toPropagate":true},{"value":"create_folder","isAssigned":false,"toPropagate":false},{"value":"delete_folder","isAssigned":false,"toPropagate":false},{"value":"edit_folder","isAssigned":false,"toPropagate":false},{"value":"create_article","isAssigned":true,"toPropagate":true},{"value":"edit_article","isAssigned":true,"toPropagate":true},{"value":"delete_article","isAssigned":false,"toPropagate":false},{"value":"suggest_article","isAssigned":true,"toPropagate":true},{"value":"manage_suggestions","isAssigned":false,"toPropagate":false}]}]},"key":"All Attributes","summary":"All editable attributes.","id":"paths/~1folders~1{folderIDs}/patch/requestBody/content/application~1json/examples/All Attributes"},"paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1folders~1{folderIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1folders~1{folderIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1folders~1{folderIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1folders~1{folderIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1folders~1{folderIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1folders~1{folderIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1folders~1{folderIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1folders~1{folderIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1folders~1{folderIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1folders~1{folderIDs}/patch/responses/409/content/application~1json/examples/duplicate name":{"value":{"code":"409-102","developerMessage":"The following name is already in use under the same parent in this language: <name>."},"key":"duplicate name","summary":"duplicate name","description":"The name is already used by a sibling of the same language under the same parent.","id":"paths/~1folders~1{folderIDs}/patch/responses/409/content/application~1json/examples/duplicate name"},"paths/~1folders~1{folderIDs}/patch/responses/412/content/application~1json/examples/precondition failed":{"value":{"code":"412-100","developerMessage":"Pre condition failed"},"key":"precondition failed","summary":"precondition failed","id":"paths/~1folders~1{folderIDs}/patch/responses/412/content/application~1json/examples/precondition failed"},"paths/~1folders~1{folderIDs}/patch/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1folders~1{folderIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1folders~1{folderIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1folders~1{folderIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/With Level":{"value":{"paginationInfo":{"count":4,"pagenum":1,"pagesize":10},"folders":[{"id":"20240000000123","name":"IT Infrastructure","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"20240000000122","name":"Operations"}},{"id":"20240000000125","name":"Customer Support","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}},{"id":"20240000000888","name":"Security Protocols","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"20240000000123","name":"IT Infrastructure"}},{"id":"20240000000889","name":"Security Procedures","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"20240000000123","name":"IT Infrastructure"}}]},"key":"With Level","summary":"Flat list of two hierarchy levels; summary attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/folders/20240000000123,20240000000125?$lang=en-US&$level=1&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/With Level"},"paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/All Attributes":{"value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":10},"folders":[{"id":"20240000000123","name":"IT Infrastructure","description":"Folder for IT infrastructure documentation.","created":{"date":"2024-01-05T09:00:00.000Z","user":{"id":"1004","userName":"john.roe","firstName":"John","middleName":"Michael","lastName":"Roe"}},"lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"20240000000122","name":"Operations"},"articleCount":12,"department":{"id":"1000","name":"Service"},"language":{"code":"en-US","label":"English (US)","isDefault":true},"translateContent":true,"permissions":[{"identity":{"user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"permission":[{"value":"own_folder","isExplicit":true,"isAssigned":false},{"value":"view_folder","isExplicit":true,"isAssigned":true},{"value":"create_folder","isExplicit":true,"isAssigned":true},{"value":"delete_folder","isExplicit":true,"isAssigned":false},{"value":"edit_folder","isExplicit":true,"isAssigned":true},{"value":"create_article","isExplicit":false,"isAssigned":true},{"value":"edit_article","isExplicit":false,"isAssigned":true},{"value":"delete_article","isExplicit":false,"isAssigned":false},{"value":"suggest_article","isExplicit":false,"isAssigned":true},{"value":"manage_suggestions","isExplicit":false,"isAssigned":false}]}],"subFolderCount":2,"path":"Operations\\IT Infrastructure","isSystemCreated":false}]},"key":"All Attributes","summary":"A single folder; all attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/folders/20240000000123?$lang=en-US&folderAdditionalAttributes=created,description,department,translateContent,permissions,articleCount,...&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1folders~1{folderIDs}/get/responses/200/content/application~1json/examples/All Attributes"},"paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1folders~1{folderIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1folders~1{folderIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1folders~1{folderIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1folders~1{folderIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1folders~1{folderIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1folders~1{folderIDs}/get/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1folders~1{folderIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1folders~1{folderIDs}/get/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1folders~1{folderIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1folders~1{folderIDs}/get/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1folders~1{folderIDs}/get/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1folders~1{folderIDs}/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1folders~1{folderIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1folders~1{folderIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1folders~1{folderIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1folders~1{folderIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1folders~1{folderIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1folders~1{folderIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1folders~1{folderIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1folders~1{folderIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1folders~1{folderIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1folders~1{folderIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1folders~1{folderIDs}/delete/responses/422/content/application~1json/examples/unprocessable content":{"value":{"code":"422-100","developerMessage":"The operation cannot be performed on the specified resource in its current state: <id>."},"key":"unprocessable content","summary":"unprocessable content","description":"The request is well formed and schema-valid, but the current state of a resource it references does not allow the operation.","id":"paths/~1folders~1{folderIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"},"paths/~1folders~1{folderIDs}/delete/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1folders~1{folderIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1folders~1{folderIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1folders~1{folderIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Top-Level Topic)":{"value":{"name":"Customer Support FAQ","department":{"id":"1005"}},"key":"Required Attributes (Top-Level Topic)","summary":"Only required attributes — create a top-level topic in a department.","id":"paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Top-Level Topic)"},"paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Topic)":{"value":{"name":"Billing Inquiries","parent":{"id":"KB-3102"}},"key":"Required Attributes (Sub-Topic)","summary":"Only required attributes — create a sub-topic under a parent topic.","id":"paths/~1topics/post/requestBody/content/application~1json/examples/Required Attributes (Sub-Topic)"},"paths/~1topics/post/requestBody/content/application~1json/examples/All Attributes":{"value":{"name":"Billing Inquiries","description":"Topic for billing related questions.","parent":{"id":"KB-3102"},"translateContent":true,"imageUrl":"https://cdn.example.com/icons/billing.png","articleForTopicHomeContent":{"id":"PROD-2996"},"customAttributes":[{"attribInternalName":"priority","attribValues":[{"value":"High"}]}],"links":[{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-2996"},{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-3477"}]},"key":"All Attributes","summary":"All writable attributes on create (shown for a sub-topic).","id":"paths/~1topics/post/requestBody/content/application~1json/examples/All Attributes"},"paths/~1topics/post/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1topics/post/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1topics/post/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1topics/post/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1topics/post/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1topics/post/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1topics/post/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1topics/post/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1topics/post/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1topics/post/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1topics/post/responses/409/content/application~1json/examples/duplicate name":{"value":{"code":"409-102","developerMessage":"The following name is already in use under the same parent in this language: <name>."},"key":"duplicate name","summary":"duplicate name","description":"The name is already used by a sibling of the same language under the same parent.","id":"paths/~1topics/post/responses/409/content/application~1json/examples/duplicate name"},"paths/~1topics/post/responses/422/content/application~1json/examples/unprocessable content":{"value":{"code":"422-100","developerMessage":"The operation cannot be performed on the specified resource in its current state: <id>."},"key":"unprocessable content","summary":"unprocessable content","description":"The request is well formed and schema-valid, but the current state of a resource it references does not allow the operation.","id":"paths/~1topics/post/responses/422/content/application~1json/examples/unprocessable content"},"paths/~1topics/post/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1topics/post/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1topics/post/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1topics/post/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1topics/get/responses/200/content/application~1json/examples/Default Attributes":{"value":{"paginationInfo":{"count":2,"pagenum":1,"pagesize":10},"topics":[{"id":"KB-3102","name":"Customer Support FAQ","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}},{"id":"KB-3103","name":"Product Documentation","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}}]},"key":"Default Attributes","summary":"Topics of a department; summary attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/topics?$lang=en-US&departmentId=1005&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1topics/get/responses/200/content/application~1json/examples/Default Attributes"},"paths/~1topics/get/responses/200/content/application~1json/examples/All Attributes":{"value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":10},"topics":[{"id":"KB-2268","name":"Billing Inquiries","description":"Topic for billing related questions.","created":{"date":"2024-01-05T09:00:00.000Z","user":{"id":"1004","userName":"john.roe","firstName":"John","middleName":"Michael","lastName":"Roe"}},"lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"KB-3102","name":"Customer Support FAQ"},"articleCount":12,"department":{"id":"1005","name":"Service"},"language":{"code":"en-US","label":"English (US)","isDefault":true},"translateContent":true,"subTopicCount":2,"path":"Customer Support FAQ\\Billing Inquiries","imageUrl":"https://cdn.example.com/icons/billing.png","articleForTopicHomeContent":{"id":"PROD-2996","name":"How to update billing details"},"customAttributes":[{"attribInternalName":"priority","attribName":{"value":"Priority","displayValue":"Priority"},"attribValues":[{"value":"High","displayValue":"High"}],"attribType":"single_select_list"}],"generatedFromFolderId":"40960000000096"}]},"key":"All Attributes","summary":"Topics under a parent; all attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/topics?$lang=en-US&parentId=KB-3102&topicAdditionalAttributes=created,description,department,translateContent,articleCount,...&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1topics/get/responses/200/content/application~1json/examples/All Attributes"},"paths/~1topics/get/responses/200/content/application~1json/examples/With Level":{"value":{"paginationInfo":{"count":3,"pagenum":1,"pagesize":10},"topics":[{"id":"KB-3102","name":"Customer Support FAQ","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}},{"id":"KB-3103","name":"Product Documentation","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}},{"id":"KB-2268","name":"Billing Inquiries","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"KB-3102","name":"Customer Support FAQ"}}]},"key":"With Level","summary":"Topics in a portal; flat list of two hierarchy levels","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/topics?$lang=en-US&portalId=PROD-1002&$level=1&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1topics/get/responses/200/content/application~1json/examples/With Level"},"paths/~1topics/get/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1topics/get/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1topics/get/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1topics/get/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1topics/get/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1topics/get/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1topics/get/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1topics/get/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1topics/get/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1topics/get/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1topics/get/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1topics/get/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1topics/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1topics/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1topics~1{topicIDs}/patch/requestBody/content/application~1json/examples/All Attributes":{"value":{"name":"Updated Topic Name","description":"Updated description for the topic.","translateContent":false,"imageUrl":"https://cdn.example.com/icons/billing.png","articleForTopicHomeContent":{"id":"PROD-2996"},"customAttributes":[{"attribInternalName":"priority","attribValues":[{"value":"Medium"}]}],"links":[{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-2996"},{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-2997"}],"unlinks":[{"rel":"article","href":"/knowledge/contentmgr/v4/articles/PROD-3050"}]},"key":"All Attributes","summary":"All editable attributes.","id":"paths/~1topics~1{topicIDs}/patch/requestBody/content/application~1json/examples/All Attributes"},"paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1topics~1{topicIDs}/patch/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1topics~1{topicIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1topics~1{topicIDs}/patch/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1topics~1{topicIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1topics~1{topicIDs}/patch/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1topics~1{topicIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1topics~1{topicIDs}/patch/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1topics~1{topicIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1topics~1{topicIDs}/patch/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1topics~1{topicIDs}/patch/responses/409/content/application~1json/examples/duplicate name":{"value":{"code":"409-102","developerMessage":"The following name is already in use under the same parent in this language: <name>."},"key":"duplicate name","summary":"duplicate name","description":"The name is already used by a sibling of the same language under the same parent.","id":"paths/~1topics~1{topicIDs}/patch/responses/409/content/application~1json/examples/duplicate name"},"paths/~1topics~1{topicIDs}/patch/responses/412/content/application~1json/examples/precondition failed":{"value":{"code":"412-100","developerMessage":"Pre condition failed"},"key":"precondition failed","summary":"precondition failed","id":"paths/~1topics~1{topicIDs}/patch/responses/412/content/application~1json/examples/precondition failed"},"paths/~1topics~1{topicIDs}/patch/responses/422/content/application~1json/examples/unprocessable content":{"value":{"code":"422-100","developerMessage":"The operation cannot be performed on the specified resource in its current state: <id>."},"key":"unprocessable content","summary":"unprocessable content","description":"The request is well formed and schema-valid, but the current state of a resource it references does not allow the operation.","id":"paths/~1topics~1{topicIDs}/patch/responses/422/content/application~1json/examples/unprocessable content"},"paths/~1topics~1{topicIDs}/patch/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1topics~1{topicIDs}/patch/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1topics~1{topicIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1topics~1{topicIDs}/patch/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/With Level":{"value":{"paginationInfo":{"count":3,"pagenum":1,"pagesize":10},"topics":[{"id":"KB-3102","name":"Customer Support FAQ","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}},{"id":"KB-3103","name":"Product Documentation","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}}},{"id":"KB-2268","name":"Billing Inquiries","lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"KB-3102","name":"Customer Support FAQ"}}]},"key":"With Level","summary":"Flat list of two hierarchy levels; summary attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/topics/KB-3102,KB-3103?$lang=en-US&$level=1&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/With Level"},"paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/All Attributes":{"value":{"paginationInfo":{"count":1,"pagenum":1,"pagesize":10},"topics":[{"id":"KB-2268","name":"Billing Inquiries","description":"Topic for billing related questions.","created":{"date":"2024-01-05T09:00:00.000Z","user":{"id":"1004","userName":"john.roe","firstName":"John","middleName":"Michael","lastName":"Roe"}},"lastModified":{"date":"2024-08-10T14:30:00.000Z","user":{"id":"1005","userName":"jane.doe","firstName":"Jane","middleName":"Anne","lastName":"Doe"}},"parent":{"id":"KB-3102","name":"Customer Support FAQ"},"articleCount":12,"department":{"id":"1005","name":"Service"},"language":{"code":"en-US","label":"English (US)","isDefault":true},"translateContent":true,"subTopicCount":2,"path":"Customer Support FAQ\\Billing Inquiries","imageUrl":"https://cdn.example.com/icons/billing.png","articleForTopicHomeContent":{"id":"PROD-2996","name":"How to update billing details"},"customAttributes":[{"attribInternalName":"priority","attribName":{"value":"Priority","displayValue":"Priority"},"attribValues":[{"value":"High","displayValue":"High"}],"attribType":"single_select_list"}],"generatedFromFolderId":"40960000000096"}]},"key":"All Attributes","summary":"A single topic; all attributes","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/topics/KB-2268?$lang=en-US&topicAdditionalAttributes=created,description,department,translateContent,articleCount,...&$pagenum=1&$pagesize=10"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1topics~1{topicIDs}/get/responses/200/content/application~1json/examples/All Attributes"},"paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1topics~1{topicIDs}/get/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1topics~1{topicIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1topics~1{topicIDs}/get/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1topics~1{topicIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1topics~1{topicIDs}/get/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1topics~1{topicIDs}/get/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1topics~1{topicIDs}/get/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1topics~1{topicIDs}/get/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1topics~1{topicIDs}/get/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1topics~1{topicIDs}/get/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1topics~1{topicIDs}/get/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1topics~1{topicIDs}/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1topics~1{topicIDs}/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1topics~1{topicIDs}/delete/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1topics~1{topicIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1topics~1{topicIDs}/delete/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1topics~1{topicIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1topics~1{topicIDs}/delete/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1topics~1{topicIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1topics~1{topicIDs}/delete/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1topics~1{topicIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1topics~1{topicIDs}/delete/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1topics~1{topicIDs}/delete/responses/422/content/application~1json/examples/unprocessable content":{"value":{"code":"422-100","developerMessage":"The operation cannot be performed on the specified resource in its current state: <id>."},"key":"unprocessable content","summary":"unprocessable content","description":"The request is well formed and schema-valid, but the current state of a resource it references does not allow the operation.","id":"paths/~1topics~1{topicIDs}/delete/responses/422/content/application~1json/examples/unprocessable content"},"paths/~1topics~1{topicIDs}/delete/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1topics~1{topicIDs}/delete/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1topics~1{topicIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1topics~1{topicIDs}/delete/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/200/content/application~1json/examples/Article Order":{"value":{"topArticlesList":[{"id":"PROD-2996","name":"How to update billing details"},{"id":"PROD-2997","name":"Understanding your invoice"}],"bottomArticlesList":[{"id":"PROD-3050","name":"Deprecated billing FAQ"}]},"key":"Article Order","summary":"Top and bottom ordered lists for a topic.","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /knowledge/contentmgr/v4/topics/KB-2268/articleorder"},"children":[],"type":"code"}],"type":"paragraph"}],"id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/200/content/application~1json/examples/Article Order"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1topics~1{topicIDs}~1articleorder/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1topics~1{topicIDs}~1articleorder/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Reorder Articles":{"value":{"topArticlesList":[{"id":"PROD-2996"},{"id":"PROD-2997"}],"bottomArticlesList":[{"id":"PROD-3050"}]},"key":"Reorder Articles","summary":"Pin two articles to the top and one to the bottom of the topic's list.","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Reorder Articles"},"paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Clear Top List":{"value":{"topArticlesList":[]},"key":"Clear Top List","summary":"Clear the top list; the bottom list is omitted and left unchanged.","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/requestBody/content/application~1json/examples/Clear Top List"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Required Attribute missing":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: <param name>"},"key":"Required Attribute missing","summary":"Required Attribute missing","description":"Required query parameter is missing","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Required Attribute missing"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Unallowed attribute value":{"value":{"code":"400-196","developerMessage":"Invalid value of attribute <attrbiute>, expected values are: [<possible_values>]."},"key":"Unallowed attribute value","summary":"Unallowed attribute value","description":"One of the attribute has value which is not allowed","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/400/content/application~1json/examples/Unallowed attribute value"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/401/content/application~1json/examples/Invalid Authorization":{"value":{"code":"401-104","developerMessage":"Invalid or missing 'Authorization' header value."},"key":"Invalid Authorization","summary":"Invalid Authorization","description":"Invalid or expired Authorization. Generate new Authorization header and try again.\n","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/401/content/application~1json/examples/Invalid Authorization"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/403/content/application~1json/examples/Required Scope Missing":{"value":{"code":"403-197","developerMessage":"Not authorized to perform the action."},"key":"Required Scope Missing","summary":"Required Scope Missing","description":"User doesn't have required scope to call this API. Refer API description to know which scope needs to be assigned to user.\n","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/403/content/application~1json/examples/Required Scope Missing"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/404/content/application~1json/examples/Resource Not Found":{"value":{"code":"404-101","developerMessage":"The following id does not exist: <id>"},"key":"Resource Not Found","summary":"Resource Not Found","description":"Resource not found","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/404/content/application~1json/examples/Resource Not Found"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/406/content/application~1json/examples/Not Acceptable":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Not Acceptable","summary":"Not Acceptable","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/406/content/application~1json/examples/Not Acceptable"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/412/content/application~1json/examples/precondition failed":{"value":{"code":"412-100","developerMessage":"Pre condition failed"},"key":"precondition failed","summary":"precondition failed","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/412/content/application~1json/examples/precondition failed"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/422/content/application~1json/examples/unprocessable content":{"value":{"code":"422-100","developerMessage":"The operation cannot be performed on the specified resource in its current state: <id>."},"key":"unprocessable content","summary":"unprocessable content","description":"The request is well formed and schema-valid, but the current state of a resource it references does not allow the operation.","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/422/content/application~1json/examples/unprocessable content"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/429/content/application~1json/examples/Too Many Request":{"value":{"code":"429-001","developerMessage":"Too many requests."},"key":"Too Many Request","summary":"Too Many Request","description":"Too many requests. Try again at a later time.\n","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/429/content/application~1json/examples/Too Many Request"},"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1topics~1{topicIDs}~1articleorder/patch/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Unsupported Parameters":{"value":{"code":"400-101","developerMessage":"Unsupported query parameter(s) supplied: '<query_parameter>'."},"key":"Unsupported Parameters","summary":"Unsupported Parameters","id":"paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Unsupported Parameters"},"paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Invalid Value":{"value":{"code":"400-152","developerMessage":"Invalid value is provided in the request body for the following attribute:'<attribute_name>'."},"key":"Invalid Value","summary":"Invalid Value","id":"paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Invalid Value"},"paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Missing required query parameter":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: '<query_parameter>'."},"key":"Missing required query parameter","summary":"Missing required query parameter","id":"paths/~1prompts~1prompttemplates/get/responses/400/content/application~1json/examples/Missing required query parameter"},"paths/~1prompts~1prompttemplates/get/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1prompts~1prompttemplates/get/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1prompts~1prompttemplates/get/responses/403/content/application~1json/examples/Forbidden":{"value":{"code":"403-178","developerMessage":"User is not allowed to perform the following action: <action_name>."},"key":"Forbidden","summary":"Forbidden","id":"paths/~1prompts~1prompttemplates/get/responses/403/content/application~1json/examples/Forbidden"},"paths/~1prompts~1prompttemplates/get/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1prompts~1prompttemplates/get/responses/404/content/application~1json/examples/Not found"},"paths/~1prompts~1prompttemplates/get/responses/406/content/application~1json/examples/Invalid Accept-Language":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Invalid Accept-Language","summary":"Invalid Accept-Language","id":"paths/~1prompts~1prompttemplates/get/responses/406/content/application~1json/examples/Invalid Accept-Language"},"paths/~1prompts~1prompttemplates/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1prompts~1prompttemplates/get/responses/500/content/application~1json/examples/Internal Server Error"},"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Unsupported Parameters":{"value":{"code":"400-101","developerMessage":"Unsupported query parameter(s) supplied: '<query_parameter>'."},"key":"Unsupported Parameters","summary":"Unsupported Parameters","id":"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Unsupported Parameters"},"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Invalid Value":{"value":{"code":"400-152","developerMessage":"Invalid value is provided in the request body for the following attribute:'<attribute_name>'."},"key":"Invalid Value","summary":"Invalid Value","id":"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Invalid Value"},"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Missing required query parameter":{"value":{"code":"400-112","developerMessage":"Required query parameter(s) is missing. The following parameters are required: '<query_parameter>'."},"key":"Missing required query parameter","summary":"Missing required query parameter","id":"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/400/content/application~1json/examples/Missing required query parameter"},"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/401/content/application~1json/examples/Unauthorized":{"value":{"code":"401-101","developerMessage":"Invalid or expired 'Authorization' header provided. New login is required."},"key":"Unauthorized","summary":"Unauthorized","id":"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/401/content/application~1json/examples/Unauthorized"},"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/403/content/application~1json/examples/Forbidden":{"value":{"code":"403-178","developerMessage":"User is not allowed to perform the following action: <action_name>."},"key":"Forbidden","summary":"Forbidden","id":"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/403/content/application~1json/examples/Forbidden"},"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/404/content/application~1json/examples/Not found":{"value":{"code":"404-100","developerMessage":"The following IDs supplied in the URI path were not found: '<resource_id>'."},"key":"Not found","summary":"Not found","id":"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/404/content/application~1json/examples/Not found"},"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/406/content/application~1json/examples/Invalid Accept-Language":{"value":{"code":"406-100","developerMessage":"Invalid 'Accept-Language' header value provided."},"key":"Invalid Accept-Language","summary":"Invalid Accept-Language","id":"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/406/content/application~1json/examples/Invalid Accept-Language"},"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/500/content/application~1json/examples/Internal Server Error":{"value":{"code":"500-100","developerMessage":"System is unable to process this request. Please contact your administrator."},"key":"Internal Server Error","summary":"Internal Server Error","id":"paths/~1prompts~1prompttemplates~1{promptID}/get/responses/500/content/application~1json/examples/Internal Server Error"}},"securitySchemeStore":{"oAuthUser":{"id":"oAuthUser","type":"oauth2","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OAuth 2.0 Authentication"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authenticate as a user (agent) using the Authorization Code flow with PKCE (Proof Key for Code Exchange). This provides secure, standards-based authentication for accessing the Knowledge Content Manager APIs."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication Flow:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Request"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Redirect user to authorization URL"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"User Consent"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": User grants permission to access their account"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization Code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Server returns authorization code"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Token Exchange"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Exchange code for access token"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API Access"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Use access token for API requests"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Required Scopes:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"knowledge.contentmgr.manage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": Full access to content management operations"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security Features:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"PKCE prevents authorization code interception attacks"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Access tokens are short-lived for security"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Refresh tokens enable long-term access"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Secure token storage and transmission"},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best Practices:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Always use HTTPS for token transmission"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Store tokens securely (not in localStorage)"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement proper token refresh logic"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor token usage and revoke when needed"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_User_V3_SignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"},"oAuthCustomer":{"id":"oAuthCustomer","type":"oauth2","description":"Authenticate as a customer using code flow with PKCE.","flows":{"authorizationCode":{"authorizationUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_Customer_V3_SignUpOrSignIn_OIDC/oauth2/v2.0/authorize?domain_hint=developerv3api.egain.cloud","tokenUrl":"https://login.egain.cloud/f51302dd-7036-41b5-b619-e1a52a67c780/B2C_1A_Customer_V3_SignUpOrSignIn_OIDC/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."},"x-usePkce":{"disableManualConfiguration":true,"hideClientSecretInput":true}}},"x-defaultClientId":"9924ecd8-7716-427f-9998-d87081df567a"},"oAuthAnonymousCustomer":{"id":"oAuthAnonymousCustomer","type":"oauth2","description":"Authenticate as an anonymous customer.","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/internal/oauth2/v2.0/anonymous/token?user_type=customer&domain_hint=developerv3api.egain.cloud","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.read":"Allows read access to the eGain Knowledge Content Manager APIs.","https://api.egain.cloud/auth/knowledge.contentmgr.manage":"Allows full access to the eGain Knowledge Content Manager APIs."}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"},"oAuthClient":{"id":"oAuthClient","type":"oauth2","description":"Authenticate as a client (Server to Server).","flows":{"clientCredentials":{"tokenUrl":"https://login.egain.cloud/global/f51302dd-7036-41b5-b619-e1a52a67c780/oauth2/v2.0/token","scopes":{"https://api.egain.cloud/auth/.default":"Default scope"}}},"x-defaultClientId":"7bbc9ba6-0465-46f0-91f4-d2742cdc0ef8"},"oAuthOnBehalfOfUser":{"id":"oAuthOnBehalfOfUser","type":"oauth2","description":"Authenticate as a client application (server) acting on behalf of a user.","flows":{"password":{"tokenUrl":"https://api.egain.cloud/core/authmgr/v4/oauth2/v2.0/onbehalfof/token?user_type=user&tenantId=TMPROD69343811","scopes":{"https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.read":"Allows read access to the eGain Knowledge Content Manager APIs on behalf of a user.","https://api.egain.cloud/auth/knowledge.contentmgr.onbehalfof.manage":"Allows full access to the eGain Knowledge Content Manager APIs on behalf of a user."}}}}},"specVersion":"3.0.0","servers":[{"url":"https://api.egain.cloud/knowledge/contentmgr/v4","description":"Production Server"}],"specType":"openapi"},"options":{"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/v4/knowledge/contentmgr/api-bundled.json?download"},{"url":"/_bundle/apis/v4/knowledge/contentmgr/api-bundled.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false,"asyncapi":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Knowledge Content Manager APIs","description":"### Overview\nThe Knowledge Content Manager API provides comprehensive capabilities for importing, validating, and managing knowledge content within the eGain platform. This API enables organizations to efficiently bulk-import content from external sources, validate content before import, and monitor import operations in real-time.\n\n### Key Features\n- **Knowledge Authoring**: Create and edit articles, folders, and topics; check out, save, and publish articles\n- **Topic and folder structure**: Organize content in folder hierarchies and topics\n- **Bulk Content Import**: Import large volumes of content from Amazon S3 buckets\n- **Content Validation**: Pre-import validation to ensure content quality and compliance\n- **Job Management**: Track and manage import operations with detailed status monitoring\n- **Scheduling**: Schedule imports for off-peak hours to minimize system impact\n- **Real-time Monitoring**: Monitor import progress and access detailed logs\n\n### Use Cases\n- Programmatic edit and publish: check out an article, save changes, and publish through API calls\n- Knowledge structure authoring: build folder trees, topics, and article placement\n- Migrating content from legacy knowledge management systems\n- Regular content updates from external content providers\n- Content validation before production deployment\n\n### License Requirements\nLogged in user must have Knowledge + AI license.\n\n### Support\nFor technical support and questions, contact the eGain support team.\n"}},"baseSlug":"/apis/v4/knowledge/contentmgr/api-bundled","routesMapping":{}}