{
"name": "internal",
"online": true,
"storage": {
"blobStoreName": "default",
"strictContentTypeValidation": true,
"writePolicy": "allow_once"
},
"cleanup": {
"policyNames": [
"string"
]
},
"component": {
"proprietaryComponents": true
},
"yum": {
"repodataDepth": 5,
"deployPolicy": "STRICT"
}
}
curl --location -g --request POST 'http://{{host}}/v1/repositories/yum/hosted' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "internal",
"online": true,
"storage": {
"blobStoreName": "default",
"strictContentTypeValidation": true,
"writePolicy": "allow_once"
},
"cleanup": {
"policyNames": [
"string"
]
},
"component": {
"proprietaryComponents": true
},
"yum": {
"repodataDepth": 5,
"deployPolicy": "STRICT"
}
}'
{}