• Resolved valuebg

    (@valuebg)


    • Add: Added REST API to create, update, delete short links.

    How to use this feature advertised in the latest release?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mike L

    (@mikeatkaizencoders)

    Hello,

    Thanks for reaching out to us.

    Just want to inform you that we have started working on the documentation but it’s not yet completed. We are also making some changes to API handling.

    Once we done with the API changes, we will update the documentation also and make it available to everyone.

    maven1129

    (@maven1129)

    We shoudl be seeing this kind of stuf fin your code, as we had to custom build to get proper APi functionality... but alas, you still do not have this type of functionality!
    public function create_item( $request ) {
    $params = $request->get_params(); $url = Helper::get_data( $params, 'url', '' );
    $title = Helper::get_data( $params, 'title', '' );
    $domain = Helper::get_data( $params, 'domain', '' );
    $post_id = Helper::get_data( $params, 'post_id', 0 );
    $slug = Helper::get_data( $params, 'slug', '' ); if ( ! empty( $url ) ) {
    $url = sanitize_url( $url );
    } $data = array(
    'url' => $url,
    'title' => $title,
    'domain' => $domain,
    'post_id' => $post_id,
    'slug' => $slug,
    );
    Thread Starter valuebg

    (@valuebg)

    Yes I was expecting something like this ^^^

    Is it just an example? Or you made it work?

    Mike: can you post some working code here? We don’t need a big explainantion just where to start using the advertised feature.

    Thread Starter valuebg

    (@valuebg)

    ???REST API to create short links.
    Able to create short links using WordPress REST API from anywhere.


    You should probably remove this from your advertising until it works.

    Mike! Give us an update man!!

    Plugin Author Mike L

    (@mikeatkaizencoders)

    @valuebg @maven1129

    Please find our latest updates about API here. It will help you get started with creating short links using API.

    Hope that helps.

    Thread Starter valuebg

    (@valuebg)

    @mikeatkaizencoders It really doesn’t help. Can you please implement this to be usable?

    It doesn’t seem very difficult. Do you recommend we hack it ourselves even though you advertised the feature?

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.