{"components":{"examples":{},"headers":{},"parameters":{},"requestBodies":{},"responses":{},"schemas":{"AdditionalFilteringEntry":{"properties":{"id":{"type":"string"},"values":{"items":{"type":"string"},"type":"array"}},"required":["id","values"],"type":"object","additionalProperties":false},"SetupResponse":{"properties":{"userId":{"type":"string"},"active":{"type":"boolean"},"accessCategory":{"type":"string"},"accessCategories":{"items":{"type":"string"},"type":"array"},"groupingAttribute":{"type":"string"},"editableAttributes":{"items":{"type":"string"},"type":"array"},"filterAttributes":{"items":{"type":"string"},"type":"array"},"linkedProductsAttributesTable":{"items":{"type":"string"},"type":"array"},"variantsAttributesTable":{"items":{"type":"string"},"type":"array"},"requirements":{"items":{"type":"string"},"type":"array"},"accessMediaLabels":{"items":{"type":"string"},"type":"array"},"additionalAttributeFiltering":{"items":{"$ref":"#/components/schemas/AdditionalFilteringEntry"},"type":"array"},"supervisor":{"type":"string"},"hideEmptyCategories":{"type":"boolean"},"languages":{"items":{"type":"string"},"type":"array"},"moveCategories":{"type":"boolean"},"flow":{"type":"boolean"},"attriutesForThumbnail":{"items":{"type":"string"},"type":"array"},"variantAttributes":{"items":{"type":"string"},"type":"array"},"inheritFromVariant":{"type":"boolean"},"variantGroupsAttributesTable":{"items":{"type":"string"},"type":"array"},"variantGroupAttributes":{"items":{"type":"string"},"type":"array"},"inheritFromVariantGroup":{"type":"boolean"}},"type":"object"},"SetupUpdateBody":{"properties":{"userId":{"type":"string"},"active":{"type":"boolean"},"accessCategory":{"type":"string"},"accessCategories":{"items":{"type":"string"},"type":"array"},"groupingAttribute":{"type":"string"},"editableAttributes":{"items":{"type":"string"},"type":"array"},"filterAttributes":{"items":{"type":"string"},"type":"array"},"linkedProductsAttributesTable":{"items":{"type":"string"},"type":"array"},"variantsAttributesTable":{"items":{"type":"string"},"type":"array"},"requirements":{"items":{"type":"string"},"type":"array"},"accessMediaLabels":{"items":{"type":"string"},"type":"array"},"additionalAttributeFiltering":{"items":{"$ref":"#/components/schemas/AdditionalFilteringEntry"},"type":"array"},"supervisor":{"type":"string"},"hideEmptyCategories":{"type":"boolean"},"languages":{"items":{"type":"string"},"type":"array"},"moveCategories":{"type":"boolean"},"flow":{"type":"boolean"},"attriutesForThumbnail":{"items":{"type":"string"},"type":"array"},"variantAttributes":{"items":{"type":"string"},"type":"array"},"inheritFromVariant":{"type":"boolean"},"variantGroupsAttributesTable":{"items":{"type":"string"},"type":"array"},"variantGroupAttributes":{"items":{"type":"string"},"type":"array"},"inheritFromVariantGroup":{"type":"boolean"}},"type":"object"}},"securitySchemes":{"oauth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://idp.test.bluestonepim.com/op/token","scopes":{"openid profile systemRoles permissions organization email name nickname":"All needed scopes."}}}}}},"info":{"title":"Personalized product editor","version":"1-apps","description":"<b><h1>Deprecated endpoints:</h1></b><table border=\"1px;\"><tr><th style=\"text-align: center; vertical-align: middle;\"><b><h3>Uri</b></h3></th><th><b>Method</b></th><th><b><h3>Since</h3></b></th><th><b><h3>End of life</h3></b></th></tr></table>"},"openapi":"3.0.0","paths":{"/setup":{"get":{"operationId":"GetSetups","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SetupResponse"},"type":"array"}}}},"403":{"description":"Permission denied"},"404":{"description":"Not found"}},"summary":"Get all setups.","tags":["setup"],"security":[{"oauth2":[]}],"parameters":[]}},"/setup/{userId}":{"get":{"operationId":"GetSetup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupResponse"}}}},"403":{"description":"Permission denied"},"404":{"description":"Not found"}},"summary":"Get user setup.","tags":["setup"],"security":[{"oauth2":[]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"type":"string"}}]},"post":{"operationId":"CreateOrUpdateSetup","responses":{"204":{"description":"No content"},"403":{"description":"Permission denied"},"422":{"description":"Validation failed"}},"description":"Create setup if there is none specified for a user\nor update an existing setup.","summary":"Create or update user setup.","tags":["setup"],"security":[{"oauth2":[]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupUpdateBody"}}}}},"delete":{"operationId":"DeleteSetup","responses":{"204":{"description":"No content"},"403":{"description":"Permission denied"},"404":{"description":"Not found"}},"summary":"Delete user setup.","tags":["setup"],"security":[{"oauth2":[]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"type":"string"}}]}}},"servers":[{"url":"api.test.bluestonepim.com/personalized-product-editor"}],"x-amazon-apigateway-api-key-source":"AUTHORIZER"}