Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates an existing content category. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.contentCategories.patch
.
- type ContentCategoriesPatchResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ContentCategory :> Patch `[JSON]` ContentCategory)))))))
- contentCategoriesPatch :: Int64 -> ContentCategory -> Int64 -> ContentCategoriesPatch
- data ContentCategoriesPatch
- ccpProFileId :: Lens' ContentCategoriesPatch Int64
- ccpPayload :: Lens' ContentCategoriesPatch ContentCategory
- ccpId :: Lens' ContentCategoriesPatch Int64
REST Resource
type ContentCategoriesPatchResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` ContentCategory :> Patch `[JSON]` ContentCategory))))))) Source
A resource alias for dfareporting.contentCategories.patch
method which the
ContentCategoriesPatch
request conforms to.
Creating a Request
Creates a value of ContentCategoriesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContentCategoriesPatch Source
Updates an existing content category. This method supports patch semantics.
See: contentCategoriesPatch
smart constructor.
Request Lenses
ccpProFileId :: Lens' ContentCategoriesPatch Int64 Source
User profile ID associated with this request.
ccpPayload :: Lens' ContentCategoriesPatch ContentCategory Source
Multipart request metadata.
ccpId :: Lens' ContentCategoriesPatch Int64 Source
Content category ID.