docs: def dump_links(self, o):
          """Dump links."""
          return {
              'self': url_for('.bucket_api', bucket_id=o.id, _external=True),
              'versions': url_for(
                  '.bucket_api', bucket_id=o.id, _external=True) + '?versions',
              'uploads': url_for(
                  '.bucket_api', bucket_id=o.id, _external=True) + '?uploads',
          }