v1.DeploymentConfigRollback

Description

DeploymentConfigRollback provides the input to rollback generation.

Object Schema

Expand or mouse-over a field for more information about it.

  1. apiVersion:
  2. kind:
  3. name:
  4. spec:
  5. from:
  6. apiVersion:
  7. fieldPath:
  8. kind:
  9. name:
  10. namespace:
  11. resourceVersion:
  12. uid:
  13. includeReplicationMeta:
  14. includeStrategy:
  15. includeTemplate:
  16. includeTriggers:
  17. revision:
  18. updatedAnnotations:
  19. [string]:

Operations

Create a DeploymentConfigRollback

Create a DeploymentConfigRollback

HTTP request

  1. POST /oapi/v1/deploymentconfigrollbacks HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "DeploymentConfigRollback",
  8. "apiVersion": "v1",
  9. ...
  10. }

Curl request

  1. $ curl -k \
  2. -X POST \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. https://$ENDPOINT/oapi/v1/deploymentconfigrollbacks <<'EOF'
  8. {
  9. "kind": "DeploymentConfigRollback",
  10. "apiVersion": "v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.DeploymentConfigRollback

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.DeploymentConfigRollback

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Create a DeploymentConfigRollback in a namespace

Create a DeploymentConfigRollback

HTTP request

  1. POST /oapi/v1/namespaces/$NAMESPACE/deploymentconfigrollbacks HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "DeploymentConfigRollback",
  8. "apiVersion": "v1",
  9. ...
  10. }

Curl request

  1. $ curl -k \
  2. -X POST \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. https://$ENDPOINT/oapi/v1/namespaces/$NAMESPACE/deploymentconfigrollbacks <<'EOF'
  8. {
  9. "kind": "DeploymentConfigRollback",
  10. "apiVersion": "v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.DeploymentConfigRollback

Path parameters

ParameterDescription

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.DeploymentConfigRollback

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf