# Stanford University Versions API

**Canonical:** https://apis.io/apis/stanford/stanford-versions-api/  
**Provider:** Stanford University — https://apis.io/providers/stanford/  
**Base URL:** https://purl.stanford.edu  
**Documentation:** https://api.library.stanford.edu/docs/purl/api/

Stanford University Versions API is one of 26 APIs that [Stanford University](https://apis.io/providers/stanford/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 5 JSON Schema definitions. Tagged areas include Versions. The published artifact set on APIs.io includes an OpenAPI specification and 5 JSON Schemas.

Operations about object versions

## Operations (14)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/objects/{object_id}/versions/current` | Return the current version number for this object |
| DELETE | `/v1/objects/{object_id}/versions/current` | Destroys current open version for this object |
| GET | `/v1/objects/{object_id}/versions/status` | Return the status of the current version for this object |
| POST | `/v1/objects/{object_id}/versions/current/close` | Close the currently open version for this object |
| GET | `/v1/objects/{object_id}/versions` | The version log for this object |
| POST | `/v1/objects/{object_id}/versions` | Open a new version for this object |
| GET | `/v1/objects/{object_id}/versions/{id}` | Show the cocina for a particular object version |
| GET | `/v1/objects/{object_id}/versions/{id}/solr` | Show solr document for a particular object version |
| GET | `/v1/objects/{object_id}/user_versions` | The user version log for this object |
| POST | `/v1/objects/{object_id}/user_versions` | Create a user version for this object |
| GET | `/v1/objects/{object_id}/user_versions/{id}` | Show the cocina for a particular user version |
| PATCH | `/v1/objects/{object_id}/user_versions/{id}` | Update a user version for this object |
| GET | `/v1/objects/{object_id}/user_versions/{id}/solr` | Show solr document for a particular user version |
| POST | `/v1/objects/versions/status` | Finds versions for multiple objects. |

## Machine-readable artifacts (16)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/openapi/stanford-versions-api-openapi.yml
- **OpenAPIOriginal** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/openapi/_original/stanford-sdr-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/json-schema/stanford-sdr-api-schemas.json
- **SourceCode** — https://github.com/sul-dlss/sdr-api
- **OpenAPIOriginal** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/openapi/_original/stanford-dor-services-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/json-schema/stanford-dor-services-api-schemas.json
- **SourceCode** — https://github.com/sul-dlss/dor-services-app
- **OpenAPIOriginal** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/openapi/_original/stanford-preservation-catalog-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/json-schema/stanford-preservation-catalog-api-schemas.json
- **SourceCode** — https://github.com/sul-dlss/preservation_catalog
- **OpenAPIOriginal** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/openapi/_original/stanford-technical-metadata-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/json-schema/stanford-technical-metadata-api-schemas.json
- **SourceCode** — https://github.com/sul-dlss/technical-metadata-service
- **OpenAPIOriginal** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/openapi/_original/stanford-suri-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/stanford/refs/heads/main/json-schema/stanford-suri-api-schemas.json
- **SourceCode** — https://github.com/sul-dlss/suri-rails

## Other Stanford University APIs (12)

- [Stanford Libraries PURL API](https://apis.io/apis/stanford/library-purl/)
- [Stanford Libraries IIIF API](https://apis.io/apis/stanford/library-iiif/)
- [Stanford Libraries Library Hours API](https://apis.io/apis/stanford/library-hours/)
- [Stanford Libraries Digital Stacks API](https://apis.io/apis/stanford/library-digital-stacks/)
- [Stanford Libraries Embed API](https://apis.io/apis/stanford/library-embed/)
- [ExploreCourses course-data XML query interface](https://apis.io/apis/stanford/explorecourses/)
- [Stanford Identity Provider — SAML 2.0 metadata](https://apis.io/apis/stanford/idp-saml/)
- [Stanford AI API Gateway](https://apis.io/apis/stanford/ai-api-gateway/)
- [MaIS Registry APIs](https://apis.io/apis/stanford/mais-registry/)
- [CAP / Stanford Profiles API](https://apis.io/apis/stanford/cap-profiles/)
- [Stanford University About API](https://apis.io/apis/stanford/stanford-about-api/)
- [Stanford University Authentication API](https://apis.io/apis/stanford/stanford-authentication-api/)

## Tags

Versions

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/stanford/stanford-versions-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/stanford/.
