urlshrtapi 1.0.0
Url shortner REST API
Rest Api che consente di comprimere gli URL in modo da trasformare indirizzi web lunghi in link cortissimi.
Published by csipiemonte
Technical contact SImone Capitani
Vitality:
60%
The vitality index, as explicited in the guidelines for the acquisition and reuse of software for Italian PA, is calculated according to the following four main categories:
- Code activity: the daily number of commits and merges;
 - Release history: the daily number of releases;
 - User community: the number of unique authors;
 - Longevity: the age of the project.
 
The ranges of every measure can be found in the vitality-ranges.yml file.
Development status: stable
Software functionality
Url shortening
Url aliasing
Città di Torino
Regione Piemonte
Città Metropolitana di Torino
detailed information
urlshrtapi 1.0.0
Url shortner REST API
Last release 2020-04-30 (1.0.0)
Type of maintenance community
                  Stato publiccode.yml
                  
License EUPL-1.2
                  Platforms
                  
                      web
                  
                
                  List of dependencies
                  
                      
                          OSS
                          
                          
    Postgresql 
                          
                      
                      
                          Proprietary
                          
                          
    Redhat JBOSS  
                          
                      
                      
                   
                
Enabling platforms None
Compliance GDPR Security Guidelines
Supported languages
                  
                
                
Italian
                
                
                
Extended description
Urlshortner API è un API Rest che permette di accorciare URL molto lunghi in link più corti in modo da favorirne la condivisione e “mascherare” i numerosi parametri che compongono tipicamente una URL.
L’api è composta da due sole risorse:
- GET /urlshrtapi/{id} : che permette di invocare una url accorciata attraverso l’id assegnato dall’operazione di shortening
 - GET /urlshrtapi/?url={url_originale} : che permette di accorciare la url_originale passata in input ed ottenere la url accorciata corrispondente
 
Es:  GET /us?url=http://www.csipiemonte.it HTTP/1.1
` Host: www.url-s.it`
` HTTP/1.1 200 OK`
` Server: Apache-Coyote/1.1`
` Access-Control-Allow-Origin: *`
` Access-Control-Allow-Methods: GET, POST, PUT, DELETE, HEAD`
` Access-Control-Allow-Headers: origin, content-type, accept, authorization`
` Access-Control-Allow-Credentials: true`
` Content-Type: text/plain`
` Content-Length: 46`
`        Date: Thu, 30 Apr 2020 09:42:53 GMT
{“shorturl”:”http://www.url-s.it/us/822d93c2”}`