docs: def view(self, activity, **kwds):
          """
          Endpoint: /activity/<id>/view.json
  
          Requests all properties of an activity.
          Returns the requested activity object.
          """
          result = self._client.get("/activity/%s/view.json" %
                                    self._extract_id(activity),
                                    **kwds)["result"]
  
          # TBD: Why is the result enclosed/encoded like this?
          result = result["0"]
          result["data"] = json.loads(result["data"])
          return Activity(self._client, result)