json.extract! canister, :id, :icid, :name, :user_id, :created_at, :updated_at json.url canister_url(canister, format: :json)