---
title: "Changes to Pick a random song, podcast episode or video and redirect (302) to its stream url"
method: GET
path: "/random"
---

# Changes to Pick a random song, podcast episode or video and redirect (302) to its stream url

`GET /random`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 57 revisions.

- **2026-08-02** `130ed94d2229`: 8 info
- **2026-07-31** `e8e6b266ea29`: 3 info
- **2026-07-31** `b7f89ed4aef8`: 5 info
- **2026-07-31** `aaf4166bdf3a`: 1 info

## Changes

- **2026-08-02** `130ed94d2229`: 8 info
  - added the new enum value `album_artist` to the `query` request parameter `type`
  - added the new enum value `album_disk` to the `query` request parameter `type`
  - added the new enum value `catalog` to the `query` request parameter `type`
  - added the new enum value `favorite` to the `query` request parameter `type`
  - added the new enum value `genre` to the `query` request parameter `type`
  - added the new enum value `label` to the `query` request parameter `type`
  - added the new enum value `rating` to the `query` request parameter `type`
  - added the new enum value `song_artist` to the `query` request parameter `type`
- **2026-07-31** `e8e6b266ea29`: 3 info
  - api operation id `random` was added
  - added the non-success response with the status `401`
  - removed the non-success response with the status `410`
- **2026-07-31** `b7f89ed4aef8`: 5 info
  - added the new optional `query` request parameter `filter`
  - added the new enum value `album` to the `query` request parameter `type`
  - added the new enum value `artist` to the `query` request parameter `type`
  - added the new enum value `playlist` to the `query` request parameter `type`
  - added the new enum value `search` to the `query` request parameter `type`
- **2026-07-31** `aaf4166bdf3a`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/ampache/apis/ampache-rest-api/docs/random/get.md) - [API](https://skmtc.dev/ampache/apis/ampache-rest-api.md) - [Page](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/random/get)
