interactions:
- request:
    body: password=admin
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['14']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.7.0 CPython/2.7.6 Linux/3.13.0-43-generic]
    method: POST
    uri: http://localhost:8089/users/admin/login
  response:
    body: {string: !!python/unicode '{"session":"a7044300d27191551e5940423d1c0e9fb7a49354cab8d986eddcb1e940b9e6b4","user":{"lock_version":1508,"username":"admin","name":"Administrator","is_system_user":true,"create_time":"2014-12-05T20:32:17Z","system_mtime":"2015-09-23T00:07:23Z","user_mtime":"2015-09-23T00:07:23Z","jsonmodel_type":"user","groups":[],"is_admin":false,"uri":"/users/1","agent_record":{"ref":"/agents/people/1"},"permissions":{"/repositories/2":["view_repository","update_accession_record","update_resource_record","update_digital_object_record"],"_archivesspace":[]}}}

        '}
    headers:
      cache-control: ['private, must-revalidate, max-age=0']
      content-length: ['551']
      content-type: [application/json]
      date: ['Wed, 23 Sep 2015 00:07:23 GMT']
      server: [Jetty(8.1.5.v20120716)]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      User-Agent: [python-requests/2.7.0 CPython/2.7.6 Linux/3.13.0-43-generic]
      X-ArchivesSpace-Session: [!!python/unicode 'a7044300d27191551e5940423d1c0e9fb7a49354cab8d986eddcb1e940b9e6b4']
    method: GET
    uri: http://localhost:8089/repositories/2/find_by_id/archival_objects?resolve%5B%5D=archival_objects&ref_id%5B%5D=a118514fab1b2ee6a7e9ad259e1de355
  response:
    body: {string: !!python/unicode '{"archival_objects":[{"ref":"/repositories/2/archival_objects/752250","_resolved":{"lock_version":0,"position":0,"publish":true,"ref_id":"a118514fab1b2ee6a7e9ad259e1de355","component_id":"test111","title":"Test
        AO","display_string":"Test AO","restrictions_apply":false,"created_by":"admin","last_modified_by":"admin","create_time":"2015-09-22T18:35:41Z","system_mtime":"2015-09-22T18:35:41Z","user_mtime":"2015-09-22T18:35:41Z","suppressed":false,"level":"file","jsonmodel_type":"archival_object","external_ids":[],"subjects":[],"linked_events":[],"extents":[],"dates":[],"external_documents":[],"rights_statements":[],"linked_agents":[],"instances":[],"notes":[],"uri":"/repositories/2/archival_objects/752250","repository":{"ref":"/repositories/2"},"resource":{"ref":"/repositories/2/resources/11319"},"has_unpublished_ancestor":false}}]}

        '}
    headers:
      cache-control: ['private, must-revalidate, max-age=0']
      content-length: ['841']
      content-type: [application/json]
      date: ['Wed, 23 Sep 2015 00:07:23 GMT']
      server: [Jetty(8.1.5.v20120716)]
      x-content-type-options: [nosniff]
    status: {code: 200, message: OK}
version: 1
