Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dates not set correctly on DTOs #81

Closed
binarymash opened this issue Mar 19, 2018 · 0 comments
Closed

Dates not set correctly on DTOs #81

binarymash opened this issue Mar 19, 2018 · 0 comments

Comments

@binarymash
Copy link
Owner

Account projects: add

{
  "accountId": "e70fd009-22c4-44e0-ab13-2b6edaf0bbdb",
  "projects": [
    {
      "id": "42a73c44-12eb-4f9b-aa7b-477492614393",
      "name": "My first project"
    }
  ]
}

Project details: fix

{
  "id": "42a73c44-12eb-4f9b-aa7b-477492614393",
  "name": "My first project",
  "version": 4,
  "created": "0001-01-01T00:00:00+00:00",
  "lastModified": "0001-01-01T00:00:00+00:00",
  "environments": [
    {
      "key": "integration"
    }
  ],
  "toggles": [
    {
      "key": "my-funky-toggle",
      "name": "my toggle name"
    }
  ]
}

Environment details: fix

{
  "projectId": "42a73c44-12eb-4f9b-aa7b-477492614393",
  "key": "integration",
  "created": "0001-01-01T00:00:00+00:00",
  "lastModified": "0001-01-01T00:00:00+00:00"
}

Toggle details: fix

{
  "projectId": "42a73c44-12eb-4f9b-aa7b-477492614393",
  "key": "my-funky-toggle",
  "name": "my toggle name",
  "created": "0001-01-01T00:00:00+00:00",
  "lastModified": "0001-01-01T00:00:00+00:00"
}

Environment States: add

{
  "version": 2,
  "toggleStates": [
    {
      "key": "my-funky-toggle",
      "value": "True",
      "version": 1
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant