1"use strict";(self.webpackChunktestiny_docs=self.webpackChunktestiny_docs||[]).push([["2657"],{65883(e,t,i){i.r(t),i.d(t,{metadata:()=>s,default:()=>j,frontMatter:()=>f,contentTitle:()=>y,toc:()=>v,assets:()=>g});var s=JSON.parse('{"id":"rest-api/add-remove-update-mappings-between-blob-entities-and-other-entities","title":"Add/remove/update mappings between \'Blob\' entities and other entities","description":"Adds/Removes/Updates mappings between entities (e.g. test cases, test runs, etc.) if the mapping is defined. Id values are named by entity e.g. \'testcase_id\', \'testrun_id\' (see request schema)","source":"@site/docs/rest-api/add-remove-update-mappings-between-blob-entities-and-other-entities.api.mdx","sourceDirName":"rest-api","slug":"/rest-api/add-remove-update-mappings-between-blob-entities-and-other-entities","permalink":"/docs/rest-api/add-remove-update-mappings-between-blob-entities-and-other-entities","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{"id":"add-remove-update-mappings-between-blob-entities-and-other-entities","title":"Add/remove/update mappings between \'Blob\' entities and other entities","description":"Adds/Removes/Updates mappings between entities (e.g. test cases, test runs, etc.) if the mapping is defined. Id values are named by entity e.g. \'testcase_id\', \'testrun_id\' (see request schema)","sidebar_label":"Add/remove/update mappings between \'Blob\' entities and other entities","hide_title":true,"hide_table_of_contents":true,"api":"eJztWv9r2zgU/1eEfmkLju3CjuP8W/YFrtzdVrpsjCshKNZLos2WPElu54X878eTbMdO3EC2HWtHSqGJ9fT0eV8/cqU15WBSLQorlKQJHXNuohvI1R2Y6F3BmQVDclYUQi4NmYO9B5AEpBVWgCHnEC5DYsFYkjIDJvCfdSlNQMCm4QURC2JX0OggwhAOCyGBh+SKkzuWlWAI00Aky4GTeeW1V8SpPkN9qHom+Fngv+pS4jdybgCIhs8lLmnSFeTsggbUsqWhyS19nqk5nQa0YJrlYEHj0zUVaObnEnRFA4pr0oSqggbUa6DJmtqqwKfGaiGXNKAgyxw1Ms5pQEvnFRrg15nSs/Y7hwws0OkmoIhKaOA0WbDMwCao1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fGDedRassWay25a5AfFJLkSuOgZSILh7Bq+PxQvjahF9xV/UJlmbrHBcqCKElMASluX/xaZkD7xufhb0emHpM1fJWmpdbY/kpUiCWDCYYfa1KsNZzy7JRnzhq7UhwPcZVxBIBnuQmNsLtH9f4ompfZp2jdO9jd4Mku6LvmALrUGU3oytrCJFHEiiLEF2khq1CoiBUiurvc48yJlyDj6ysCkhdKSEvxxNZAWmphK6d5XIi/oBqXiOt22h1+i/npE6srtN2QuIe4I8HVVsC436b5c+oPo3EhRiiAfsCcv9keFL9qUuu25f+WDOOd/yLEPUbtvhYe2vx238jinbefQ/N67xtxf/9+aF531xwHh6xBFwu5UN3C74RqP4wrIM14kTGL23gUxKzD/PBSl+GzyzDGtMZMy5nrMHUoxpxH2l3PiPy9g/3LGWfI12fbqwC49evfDtjFtd62t1/iAojPaQtfbFRkTEh0pau6dV20/n8a1Cej31tj4dKAJv07GdOArrDak1u6Xs+ZgXc622zwsb9BgknPhcEdVHPXI6CfoGrulPiXvIS6Wr1jWvi91tCsByNyflPzxQX5Mfc+Bv3TNAJZdWG3xvS8ssGdcd0k0BYv88IjHk1Q01bHHl3ie5CfMU5TKOxB2Wmn716/eTvBSNW3U3LHkFSze+RUdu/x+vcb14bcszXNmFyWjoao14k//wG0lr/M","sidebar_class_name":"post api-method","info_path":"rest-api/testiny-api","custom_edit_url":null},"sidebar":"apiSidebar","previous":{"title":"Undelete a \'Blob\' by id","permalink":"/docs/rest-api/undelete-a-blob-by-id"},"next":{"title":"Comment","permalink":"/docs/rest-api/comment"}}'),r=i(74848),a=i(28453),n=i(22915),o=i.n(n),d=i(65609),p=i.n(d),l=i(75123),m=i.n(l),b=i(20509),c=i.n(b);i(69148),i(41647);var u=i(92107),h=i(33553);let f={id:"add-remove-update-mappings-between-blob-entities-and-other-entities",t
1itle:"Add/remove/update mappings between 'Blob' entities and other entities",description:"Adds/Removes/Updates mappings between entities (e.g. test cases, test runs, etc.) if the mapping is defined. Id values are named by entity e.g. 'testcase_id', 'testrun_id' (see request schema)",sidebar_label:"Add/remove/update mappings between 'Blob' entities and other entities",hide_title:!0,hide_table_of_contents:!0,api:"eJztWv9r2zgU/1eEfmkLju3CjuP8W/YFrtzdVrpsjCshKNZLos2WPElu54X878eTbMdO3EC2HWtHSqGJ9fT0eV8/cqU15WBSLQorlKQJHXNuohvI1R2Y6F3BmQVDclYUQi4NmYO9B5AEpBVWgCHnEC5DYsFYkjIDJvCfdSlNQMCm4QURC2JX0OggwhAOCyGBh+SKkzuWlWAI00Aky4GTeeW1V8SpPkN9qHom+Fngv+pS4jdybgCIhs8lLmnSFeTsggbUsqWhyS19nqk5nQa0YJrlYEHj0zUVaObnEnRFA4pr0oSqggbUa6DJmtqqwKfGaiGXNKAgyxw1Ms5pQEvnFRrg15nSs/Y7hwws0OkmoIhKaOA0WbDMwCao1y2YXXWWtSvQr2pfHkCwCXaiNFl5d52bC6K8f52ubWCsQo8TqwJiAD1gvW9TlSlJzpIz2gVpdQmbqX8Cxj5XvEIUfYGApkpakBaHWFFkImWIJ/poENS6A19JeLNw3q4NYVoz9LewkBtnoLAZDmCQJmDsC2bgH58iGEI/S80/QmrprvVjSfwI2l4ni+DOIYYwyYlRORDlxFlGmDEqFc4BnFmGrvH65kAYOUcEQQPhgmjInFVmJYqQBrTQqgDtApSsqeCmE57j8H2CypCF0r4cIJ934rW30DxT85ngncWEtLAEjcnQqYkhgV7+3baq+vMwS7EmgQ8Z1AeTakD3zZgL/X4qunGhJLEih9pEYRrTlW6L31U7FtQXlhcu/pd//B6P4stRfDmJ48T9hnEc/7tNgrYKF0rniIBiuY1wKaykMsvYHFXVhdaCnVcHwCpNSgMaw+Lq52G0ZISPvoJW2Mlq5VhJGEVTGQt516C4xS1LjPAgxFxxsRAHHJoxY4mXSh+PZ1vYD7m28SZ4596vVNcS4Ai4lL5N8iO83s7/PrfXCz/odaMWduSEHovHG8RHOPx47zYzvs+5nYa1j7MeJHVbqbYeaZpWQHMhRY48Gw+p32l5+0t0BL55GVyn5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B2Wmn716/eTvBSNW3U3LHkFSze+RUdu/x+vcb14bcszXNmFyWjoao14k//wG0lr/M",sidebar_class_name:"post api-method",info_path:"rest-api/testiny-api",custom_edit_url:null},y,g={},v=[];function x(e){let t={p:"p",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.default,{as:"h1",className:"openapi__heading",children:"Add/remove/update mappings between 'Blob' entities and other entities"}),"\n",(0,r.jsx)(o(),{method:"post",path:"/blob/mapping/bulk/{otherEntities}",context:"endpoint"}),"\n",(0,r.jsx)(t.p,{children:"Adds/Removes/Updates mappings between entities (e.g. test cases, test runs, etc.) if the mapping is defined. Id values are named by entity e.g. 'testcase_id', 'testrun_id' (see request schema)"}),"\n",(0,r.jsx)(u.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,r.jsx)(h.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,r.jsx)(p(),{...i(43162)}),"\n",(0,r.jsx)(m(),{...i(62928)}),"\n",(0,r.jsx)(c(),{...i(93242)})]})}function j(e={}){let{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(x,{...e})}):x(e)}},43162(e){e.exports=JSON.parse('{"parameters":[{"in":"query","name":"op","schema":{"type":"string","enum":["add","update","add_or_update","delete"]},"required":false},{"in":"path","name":"otherEntities","schema":{"type":"string"},"description":"The name(s) of the other entities to map to, separated by colon \':\'","required":true}]}')},62928(e){e.exports=JSON.parse('{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"array","items":{"title":"BlobTestCaseMapping","type":"object","description":"An object of entity id names and s
1ome optional associated data to describe a (Blob,TestCase) relationship.","properties":{"ids":{"type":"object","description":"An object of entity id keys for the member entities","properties":{"blob_id":{"type":"integer"},"testcase_id":{"type":"integer"}},"required":["blob_id","testcase_id"]},"mapped":{"type":"object","properties":{"created_at":{"description":"The creation time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false},"created_by":{"description":"The creator user id of this entity or mapping value - or zero if created by the system","example":0,"type":"number","nullable":false},"modified_at":{"description":"The last modification time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false},"modified_by":{"description":"The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system","example":0,"type":"number","nullable":false},"deleted_at":{"description":"The soft-deletion time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false},"deleted_by":{"description":"The id of the user who deleted this entity or mapping value - or zero if deleted by the system","example":0,"type":"number","nullable":false},"blob_id":{"description":"The blob_id property","type":"integer","minimum":0,"nullable":false},"testcase_id":{"description":"The testcase_id property","type":"integer","minimum":0,"nullable":false}},"title":"TestCaseBlobValues"}}}},{"type":"array","items":{"title":"BlobTestCaseTestRunMapping","type":"object","description":"An object of entity id names and some optional associated data to describe a (Blob,TestCase,TestRun) relationship.","properties":{"ids":{"type":"object","description":"An object of entity id keys for the member entities","properties":{"blob_id":{"type":"integer"},"testcase_id":{"type":"integer"},"testrun_id":{"type":"integer"}},"required":["blob_id","testcase_id","testrun_id"]},"mapped":{"type":"object","properties":{"created_at":{"description":"The creation time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false},"created_by":{"description":"The creator user id of this entity or mapping value - or zero if created by the system","example":0,"type":"number","nullable":false},"modified_at":{"description":"The last modification time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false},"modified_by":{"description":"The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system","example":0,"type":"number","nullable":false},"deleted_at":{"description":"The soft-deletion time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false},"deleted_by":{"description":"The id of the user who deleted this entity or mapping value - or zero if deleted by the system","example":0,"type":"number","nullable":false},"blob_id":{"description":"The blob_id property","type":"integer","minimum":0,"nullable":false},"testrun_id":{"description":"The testrun_id property","type":"integer","minimum":0,"nullable":false},"testcase_id":{"description":"The testcase_id property","type":"integer","minimum":0,"nullable":false}},"title":"TestRunBlobValues"}}}},{"type":"array","items":{"title":"BlobCommentMapping","type":"object","description":"An object of entity id names and some optional associated data to describe a (Blob,Comment) relationship.","properties":{"ids":{"type":"object","description":"An object of entity id keys for the member entities","properties":{"blob_id":{"type":"integer"},"comment_id":{"type":"integer"}},"required":["blob_id","comment_id"]},"mapped":{"type":"object","properties":{"created_at":{"description":"The creation time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false}
1,"created_by":{"description":"The creator user id of this entity or mapping value - or zero if created by the system","example":0,"type":"number","nullable":false},"modified_at":{"description":"The last modification time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false},"modified_by":{"description":"The id of the user who last modified or undeleted this entity or mapping value - or zero if modified by the system","example":0,"type":"number","nullable":false},"deleted_at":{"description":"The soft-deletion time for this entity or mapping value","example":"1970-01-01T00:00:00.000Z","type":"string","format":"date-time","nullable":false},"deleted_by":{"description":"The id of the user who deleted this entity or mapping value - or zero if deleted by the system","example":0,"type":"number","nullable":false},"blob_id":{"description":"The blob_id property","type":"integer","minimum":0,"nullable":false},"comment_id":{"description":"The comment_id property","type":"integer","minimum":0,"nullable":false}},"title":"BlobCommentValues"}}}},{"type":"array","items":{"title":"AutomationResultBlobMapping","type":"object","description":"An object of entity id names and some optional associated data to describe a (AutomationResult,Blob) relationship.","properties":{"ids":{"type":"object","description":"An object of entity id keys for the member entities","properties":{"atm_result_id":{"type":"integer"},"blob_id":{"type":"integer"}},"required":["atm_result_id","blob_id"]},"mapped":{"type":"object","properties":{"blob_id":{"description":"The blob_id property","type":"integer","minimum":0,"nullable":false},"atm_result_id":{"description":"The atm_result_id property","type":"integer","minimum":0,"nullable":false}},"title":"AtmResultBlobValues"}}}}]}}}}}')},93242(e){e.exports=JSON.parse('{"responses":{"4XX":{"description":"The request failed because invalid request parameters or data were supplied or access was denied.","content":{"application/json":{"schema":{"title":"ApiError","type":"object","required":["message"],"properties":{"code":{"description":"The error code describing the general error category.","example":"API_INVALID_INPUT_DATA","type":"string"},"status":{"description":"The HTTP status code.","type":"integer"},"message":{"description":"The actual error message describing the error in more detail.","type":"string"},"reqid":{"description":"The request id for following up on specific errors.","type":"string"}}}}}},"5XX":{"description":"The request failed because an error occurred during processing of the request.","content":{"application/json":{"schema":{"title":"ApiError","type":"object","required":["message"],"properties":{"code":{"description":"The error code describing the general error category.","example":"API_INVALID_INPUT_DATA","type":"string"},"status":{"description":"The HTTP status code.","type":"integer"},"message":{"description":"The actual error message describing the error in more detail.","type":"string"},"reqid":{"description":"The request id for following up on specific errors.","type":"string"}}}}}}}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.