Log in  Sign up 

Multiple link shortener. URL manager



To demo

API

/links/create

Parameters:

url required string
fromPath optional string
refferer optional string
allowEmptyRefferer optional boolean
description optional string

Result:

{
    resultCode: correct | incorrectFromPath | duplicateFromPath | smallFromPath | emptyUrl,
    errorMessage: string with error description,
    id: created link id,        
    url: from parameters,
    fromPath: from parameters,
    password: from parameters,
    description: from parameters,
    refferer: from parameters,
    allowEmptyRefferer: from parameters,
    urls: {
        resultCode: correct | incorrectUrl | emptyUrl,
        errorMessage: string with error description,
        url: one url from parameter url
    }
}
        

/links/remove

Parameters:

ids required long []
email required string
password required string

Result:

{
    resultCode: success | noRights,
    errorMessage: string with error description,
    ids: from parameters
}
        

/links/get

Parameters:

fromPaths required string []
email required string
password required string

Result:

{
    resultCode: success | noLogin,
    errorMessage: string with error description,
    fromPaths: {
        resultCode: success | notFound,
        errorMessage: no found,
        url: link url,
        id: link id,
        userId: link user id,
        fromPath: from parameters
    }
}
        

/dirs/get

Parameters:

email required string
password required string

Result:

{
    resultCode: success | noLogin,
    errorMessage: string with error description,
    dirs: {
        id: x,
        title: x,
        children: [
            {
                id: x,
                title: x
            },
            {
                id: x,
                title: x,
                children: []
            }
        ]
    }
}
        

/links/stats

Parameters:

ids required long []
email required string
password required string

Result:

{
    resultCode: success | noLogin,
    errorMessage: string with error description,
    links: [
        {
            id: x,
            stats: [
                {
                    ip: x,
                    date: x,
                    refferer: x,
                    country: x
                },
                {
                    ip: x,
                    date: x,
                    refferer: x,
                    country: x
                }
            ]
        }
    }
}
        

/dirs/create

Parameters:

name required string
parentId required long
email required string
password required string

Result:

{
    resultCode: success | noLogin | notFound,
    errorMessage: string with error description,
    name: from parameters,
    parentId: from parameters,
    id: x
}
        

/dirs/remove

Parameters:

ids required long []
email required string
password required string

Result:

{
    resultCode: success | noLogin | notFound,
    errorMessage: string with error description,
    ids: from parameters
}
        

/dirs/edit

Parameters:

id required long
name required string
email required string
password required string

Result:

{
    resultCode: success | noLogin | notFound,
    errorMessage: string with error description,
    id: from parameters,
    name: from parameters
}
        


Download Jump.fm toolbar | API | Contact us | Top | Recent | Help


Copyright © 2009 Jump.fm