Jump to: navigation, search

Difference between revisions of "Designate/Blueprints/ReverseFixedIP"

(Summary)
(API Changes)
Line 14: Line 14:
 
== API Changes ==
 
== API Changes ==
  
List of changes to the HTTP API
+
Using the general endpoint call "/reverse" add the fixed IP resource called "fixedips".
  
 
=== One Per Change ===
 
=== One Per Change ===

Revision as of 17:53, 4 March 2014

Overview

Gerrit Patch []
Launchpad Blueprint [1]

Summary

Provide a simple interface towards an entities PTR records based on allocated Fixed IPs.

API Changes

Using the general endpoint call "/reverse" add the fixed IP resource called "fixedips".

One Per Change

Verb Resource Description
GET /resource Description of call
GET /resource/{id} Description of call

Example of Call (HTTP Verb)

Overview of call

Response

   {
       “data”: [
           {
               "more":"data"
           }
         ]
   }

Database Changes

Description of Changes to DB schemas

eg -

Name Data Type Length Nullable Details
id VARCHAR 36 False Primary Key, Generated UUID
name VARCHAR 255 False Domain name to be blacklisted
version INTEGER - False Designate API version
created_at DATETIME - False UTC time of creation
updated_at DATETIME - True UTC time of creation
description VARCHAR 160 True UTF-8 text field