Examples

POST /katello/api/content_credentials/591165711/content
Content-Type: multipart/form-data; boundary=APIPIE_RECORDER_EXAMPLE_BOUNDARY

--APIPIE_RECORDER_EXAMPLE_BOUNDARY
Content-Disposition: form-data; name="content_type"
Content-Length: 7

gpg_key
--APIPIE_RECORDER_EXAMPLE_BOUNDARY
Content-Disposition: form-data; name="content"; filename="abc12320230823-115439-2v3hvz"
Content-Length: 6
Content-Type: text/plain
Content-Transfer-Encoding: binary

... contents of "content" ...
--APIPIE_RECORDER_EXAMPLE_BOUNDARY--
200
{
  "status": "success"
}

Params

Param name Description
id
required

Content Credential ID

Validations:

  • Must be a number.

content
required

File contents

Validations:

  • File