Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# Example of retrieving Item information via "edit-media" path in ATOM format (can be run on any item within DSpace, but requires authentication)
# NOTE: Accept header is required, and must be a format supported by a SwordContentDisseminator plugin (see configuration above)
curl -i -H "Accept:application/atom+xml" -u test@dspace.org:[password] -X GET http://[dspace.url]/swordv2/edit-media/[internal-item-identifier]

Troubleshooting

...

Missing expression of encoding in XML header

If your SWORD Deposit requests are producing HTTP 500unsuccessful, please check that the XML in your initial metadata deposit correctly specifies the encoding.

...