def show()

in app/controllers/Versions.scala [26:36]


  def show(systemId: String, contentId: String, timestamp: String) = AuthAction.async {
    val stack = config.stackFromId(systemId)
    val snapshot = snapshotApi.getRawSnapshot(stack.snapshotBucket, SnapshotId(contentId, timestamp))
    snapshot.fold(
      { failure => InternalServerError(failure.toString) },
      {
        case Some(ss) => Ok(ss).as(JSON)
        case None => NotFound
      }
    )
  }