/** * @see https://developers.podio.com/doc/spaces/update-space-22391 */ public static function update($space_id, $attributes = array()) { return Podio::put("/space/{$space_id}", $attributes); }
/** * @see https://developers.podio.com/doc/forms/update-form-53808 */ public static function update($form_id, $attributes = array()) { return Podio::put("/form/{$form_id}", $attributes); }
/** * @see https://developers.podio.com/doc/items/update-item-field-values-22367 */ public static function update($item_id, $field_id, $attributes = array(), $options = array()) { $url = Podio::url_with_options("/item/{$item_id}/value/{$field_id}", $options); return Podio::put($url, $attributes)->json_body(); }
/** * @see https://developers.podio.com/doc/applications/update-an-app-field-22356 */ public static function update($app_id, $field_id, $attributes = array()) { return Podio::put("/app/{$app_id}/field/{$field_id}", $attributes); }
/** * @see https://developers.podio.com/doc/tags/update-tags-39859 */ public static function update($ref_type, $ref_id, $attributes = array()) { return Podio::put("/tag/{$ref_type}/{$ref_id}/", $attributes); }
/** * @see https://developers.podio.com/doc/items/set-participation-7156154 */ public static function participation($item_id, $attributes = array()) { return Podio::put("/item/{$item_id}/participation", $attributes)->json_body(); }
/** * @see https://developers.podio.com/doc/tasks/update-task-10583674 */ public static function update($task_id, $attributes = array(), $options = array()) { $url = Podio::url_with_options("/task/{$task_id}", $options); return self::member(Podio::put($url, $attributes)); }
/** * @see https://developers.podio.com/doc/organizations/update-organization-22386 */ public static function update($org_id, $attributes = array()) { return Podio::put("/org/{$org_id}", $attributes); }
/** * @see https://developers.podio.com/doc/widgets/update-widget-order-22495 */ public static function update_order($ref_type, $ref_id, $attributes = array()) { return Podio::put("/widget/{$ref_type}/{$ref_id}/order", $attributes); }
/** * @see https://developers.podio.com/doc/users/update-profile-22402 */ public static function update_profile($attributes) { return Podio::put("/user/profile/", $attributes); }
/** * @see https://developers.podio.com/doc/comments/update-a-comment-22346 */ public static function update($comment_id, $attributes = array()) { return Podio::put("/comment/{$comment_id}", $attributes); }
/** * @see https://developers.podio.com/doc/views/update-last-view-5988251 */ public static function update_last($app_id, $attributes = array()) { return Podio::put("/view/app/{$app_id}/last", $attributes); }
/** * @see https://developers.podio.com/doc/applications/update-app-order-22463 */ public static function update_org($space_id, $attributes = array()) { return Podio::put("/app/space/{$space_id}/order", $attributes); }
/** * @see https://developers.podio.com/doc/space-members/update-space-memberships-22398 */ public static function update($space_id, $user_ids, $attributes = array()) { return Podio::put("/space/{$space_id}/member/{$user_ids}", $attributes); }
/** * @see https://developers.podio.com/doc/integrations/update-integration-86843 */ public static function update($app_id, $attributes = array()) { return Podio::put("/integration/{$app_id}", $attributes); }
/** * @see https://developers.podio.com/doc/tasks/update-task-labels-151769 */ public static function update($label_id, $attributes = array()) { return Podio::put("/task/label/{$label_id}", $attributes); }
/** * @see https://developers.podio.com/doc/contacts/update-contact-field-60558 */ public static function update_field($profile_id, $key, $attributes = array()) { return Podio::put("/contact/{$profile_id}/{$key}", $attributes); }