| # Copyright (c) 2020 Contributors to the Eclipse Foundation |
| # |
| # See the NOTICE file(s) distributed with this work for additional |
| # information regarding copyright ownership. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License 2.0 which is available at |
| # http://www.eclipse.org/legal/epl-2.0 |
| # |
| # SPDX-License-Identifier: EPL-2.0 |
| description: |- |
| A precondition for reading or writing the (sub-)resource failed. This will happen for write requests, if you |
| specified an If-Match or If-None-Match header, which fails the precondition check against the current ETag of |
| the (sub-)resource. For read requests, this error may only happen for a failing If-Match header. In case of a |
| failing If-None-Match header for a read request, status 304 will be returned instead. |
| headers: |
| ETag: |
| description: |- |
| The (current server-side) ETag for this (sub-)resource. For top-level resources it is in the format |
| "rev:[revision]", for sub-resources it has the format "hash:[calculated-hash]". |
| schema: |
| type: string |
| content: |
| application/json: |
| schema: |
| $ref: '../schemas/errors/advancedError.yml' |