Skip to content

Commit 5636a0f

Browse files
committed
Revert "CMR-10583: adding error examples in documentation"
This reverts commit 2762705.
1 parent 2762705 commit 5636a0f

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

  • schemas/resources/schemas/citation-draft/v1.0.0

schemas/resources/schemas/citation-draft/v1.0.0/ingest.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,22 +37,6 @@ get a JSON response:
3737
{"concept-id":"CITD1200000000-PROV1","revision-id":1,"warnings":null,"existing-errors":null}
3838
```
3939

40-
#### Unsuccessful Response in XML
41-
42-
```
43-
<?xml version="1.0" encoding="UTF-8"?>
44-
<errors>
45-
<error>While validating the record against the [citation] schema with version [1.1.0] the following error occurred: [#: #: only 1 subschema matches out of 2]. The record cannot be ingested.</error>
46-
</errors>
47-
```
48-
49-
#### Unsuccessful Response in JSON
50-
51-
```
52-
{"errors":["While validating the record against the [citation] schema with version [1.1.0] the following error occurred: [#: #: only 1 subschema matches out of 2]. The record cannot be ingested."]}
53-
```
54-
55-
5640
### <a name="delete-citation-draft"></a> Delete a Citation Draft
5741

5842
Citation Draft metadata can be deleted by sending an HTTP DELETE to the URL `%CMR-ENDPOINT%/providers/<provider-id>/citation-drafts/<native-id>`. The response will include the [concept id](#concept-id) and the [revision id](#revision-id) of the tombstone.
@@ -98,4 +82,4 @@ the following error message
9882
"errors": [
9983
"Concept with native-id [sampleNative23Id] and concept-id [CITD1200000000-PROV1] is already deleted."
10084
]
101-
```
85+
```

0 commit comments

Comments
 (0)