I’d like to propose deprecating the import/export format of profiles. The
current format (Perl-based) is inconsistent with the standard POST
api/x.x/profiles format. Import/Export can/should be done using the same
API. Traffic Portal Import should use the standard API endpoint.
Import/export (shown below) has this form which includes the "profile" key
at the top level. The "secure" option in the "parameters" secion uses a
0/1 rather than a boolean true/false. These 2 things make it inconsistent.
Opinions are welcome...
Dan
{
"profile": {
"name": "myname",
...
},
"parameters": [
{
"name": "foo",
"secure": 0,
...
]
}