Rest Api Structure Style Python